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


##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java:
##########
@@ -296,6 +302,23 @@ public void onEvent(final LogEntryAndClosure event, final 
long sequence, final b
                 return;
             }
 
+            // Patch the command.
+            if (event.done instanceof CommandClosure) {
+                CommandClosure<?> cmd = (CommandClosure<?>) event.done;
+                Command command = cmd.command();
+
+                // Tick once per batch.
+                if (safeTs == null) {

Review Comment:
   This is already declared in LogEntryAndClosureHandler.



-- 
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: notifications-unsubscr...@ignite.apache.org

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

Reply via email to