belliottsmith commented on code in PR #183:
URL: https://github.com/apache/cassandra-accord/pull/183#discussion_r2031560720


##########
accord-core/src/main/java/accord/coordinate/ExecuteSyncPoint.java:
##########
@@ -249,6 +249,6 @@ protected void start()
     {
         SortedArrayList<Node.Id> contact = tracker.filterAndRecordFaulty();
         if (contact == null) tryFailure(new Exhausted(syncPoint.syncId, 
syncPoint.route.homeKey(), null));
-        else node.send(contact, to -> new WaitUntilApplied(to, 
tracker.topologies(), syncPoint.syncId, syncPoint.route, 
syncPoint.syncId.epoch()), executor, this);
+        else node.send(contact, to -> new WaitUntilApplied(to, 
tracker.topologies(), syncPoint.syncId, syncPoint.route, 
tracker.topologies().currentEpoch()), executor, this);

Review Comment:
   To enforce the invariant that all transactions with lower txnid have 
executed we sometimes have to visit future epochs to witness earlier txnid 
executed.



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to