zstan commented on code in PR #12925:
URL: https://github.com/apache/ignite/pull/12925#discussion_r3279234938


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxManager.java:
##########
@@ -3123,7 +3126,26 @@ private TxRecoveryInitRunnable(ClusterNode node) {
                         ", failedNodeId=" + evtNodeId + ']');
 
                 for (final IgniteInternalTx tx : activeTransactions()) {
-                    if ((tx.near() && !tx.local() && 
tx.originatingNodeId().equals(evtNodeId))
+                    Map<UUID, Collection<UUID>> txNodes = 
tx.transactionNodes();
+
+                    if (tx.storeWriteThrough() && txNodes != null

Review Comment:
   for reviewer: class that can catch\handle more questions about 
flags\implementation approaches is : 
IgniteTxCacheWriteSynchronizationModesMultithreadedTest
   it can be speed up by testing only writeThrough scenarios, check:
   IgniteTxCacheWriteSynchronizationModesMultithreadedTest#multithreaded - 
store If {@code true} sets store in cache configuration



-- 
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]

Reply via email to