xtern commented on code in PR #4690:
URL: https://github.com/apache/ignite-3/pull/4690#discussion_r1836119021
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -192,6 +196,11 @@ public class TxManagerImpl implements TxManager,
NetworkMessageHandler {
private final ReplicaService replicaService;
+ /** Registry of locally started active transactions. */
+ private final Map<UUID, InternalTransaction> transactions = new
ConcurrentHashMap<>();
Review Comment:
@vldpyatkov , we need registry of running transactions to be able to abort
pending transaction (command `KILL TRANSACTION TxId`).
`VolatileTxStateMetaStorage` contains only states for RW transactions.
Can you suggest how the command should be designed to abort any running
transaction (including read-only transactions) without such mapping?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]