rpuch commented on code in PR #3454:
URL: https://github.com/apache/ignite-3/pull/3454#discussion_r1533315158


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/raft/PartitionListener.java:
##########
@@ -407,6 +415,10 @@ private void handleSafeTimeSyncCommand(SafeTimeSyncCommand 
cmd, long commandInde
 
         // We MUST bump information about last updated index+term.
         // See a comment in #onWrite() for explanation.
+        advanceLastAppliedIndexConsistently(commandIndex, commandTerm);

Review Comment:
   We don't, the index gets updated by the `compareAndSet()` method internally. 
I wrote a test for that.



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