ascherbakoff commented on code in PR #5124:
URL: https://github.com/apache/ignite-3/pull/5124#discussion_r1935371371


##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/rpc/impl/ActionRequestProcessor.java:
##########
@@ -195,9 +202,12 @@ public void run(Status status) {
             }
 
             @Override
-            public void patch(HybridTimestamp safeTs) {
+            public void safeTime(HybridTimestamp safeTs) {
+                assert this.safeTs == null : "Safe time can be set only once";

Review Comment:
   This method should only be invoked from raft event loop.
   So it's safe without volatile.



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