denis-chudov commented on code in PR #3219:
URL: https://github.com/apache/ignite-3/pull/3219#discussion_r1511570353


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -291,12 +297,13 @@ public TxManagerImpl(
         this.primaryReplicaEventListener = this::primaryReplicaEventListener;
         this.localRwTxCounter = localRwTxCounter;
         this.partitionOperationsExecutor = partitionOperationsExecutor;
+        this.resourceCleanupManager = resourceCleanupManager;
 
         placementDriverHelper = new PlacementDriverHelper(placementDriver, 
clock);
 
         int cpus = Runtime.getRuntime().availableProcessors();
 
-        cleanupExecutor = new ThreadPoolExecutor(
+        writeIntentSwitchPool = new ThreadPoolExecutor(

Review Comment:
   It think it's worthy to rename as well
   - `TxManagerImpl#executeCleanupAsync`
   - `IgniteThreadFactory.create(nodeName, "tx-async-cleanup", LOG, 
STORAGE_READ, STORAGE_WRITE)` - thread name



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