Cyrill commented on code in PR #2832:
URL: https://github.com/apache/ignite-3/pull/2832#discussion_r1397187683


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -478,10 +479,19 @@ private CompletableFuture<?> 
processRequest(ReplicaRequest request, @Nullable Bo
 
             // Saving state is not needed for full transactions.
             if (!req.full()) {
-                txManager.updateTxMeta(req.transactionId(), old -> new 
TxStateMeta(PENDING, senderId, null));
+                txManager.updateTxMeta(req.transactionId(), old -> new 
TxStateMeta(
+                        PENDING,
+                        senderId,
+                        req.commitPartitionId().asTablePartitionId(),
+                        null
+                ));
             }
         }
 
+        if (request instanceof TxRecoveryMessage) {
+            processTxRecoveryAction((TxRecoveryMessage) request);

Review Comment:
   do we need to proceed executing this request after processTxRecoveryAction? 
Looks like we can add a `return` statement here.



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