sergeyuttsel commented on code in PR #1503:
URL: https://github.com/apache/ignite-3/pull/1503#discussion_r1069161791
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -959,14 +959,20 @@ private CompletableFuture<Void>
processTxFinishAction(TxFinishReplicaRequest req
request.groups().forEach(
(recipientNode, replicationGroupIds) ->
- cleanupFutures[cleanupFuturesCnt.getAndIncrement()] =
changeStateFuture.thenCompose(ignored ->
- txManager.cleanup(
- recipientNode,
- replicationGroupIds,
- txId,
- commit,
- request.commitTimestamp()
- )
+ cleanupFutures[cleanupFuturesCnt.getAndIncrement()] =
+ changeStateFuture.thenCompose(isStateChanged
-> {
+ if ((Boolean) isStateChanged) {
Review Comment:
I made some change but I cannot change `CommandClosure#result(Serializable
res)`
--
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]