vldpyatkov commented on code in PR #2757:
URL: https://github.com/apache/ignite-3/pull/2757#discussion_r1374400984
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/ReadWriteTransactionImpl.java:
##########
@@ -56,6 +62,12 @@ public class ReadWriteTransactionImpl extends
IgniteAbstractTransactionImpl {
/** A partition which stores the transaction state. */
private volatile TablePartitionId commitPart;
+ /** The lock protects the transaction topology from concurrent
modification during finishing. */
+ private final ReentrantReadWriteLock enlistPartLock = new
ReentrantReadWriteLock();
Review Comment:
Sure
--
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]