rpuch commented on code in PR #5187: URL: https://github.com/apache/ignite-3/pull/5187#discussion_r1950337877
########## modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/raft/ZonePartitionRaftListener.java: ########## @@ -103,18 +134,23 @@ public void onWrite(Iterator<CommandClosure<WriteCommand>> iterator) { private void processWriteCommand(CommandClosure<WriteCommand> clo) { Command command = clo.command(); - if (command instanceof FinishTxCommand) { - FinishTxCommand cmd = (FinishTxCommand) command; + long commandIndex = clo.index(); + long commandTerm = clo.term(); + @Nullable HybridTimestamp safeTimestamp = clo.safeTimestamp(); + assert safeTimestamp == null || command instanceof SafeTimePropagatingCommand : command; + + IgniteBiTuple<Serializable, Boolean> result = null; Review Comment: I would prefer to leave it for further changes. This PR is already huge, this code is just moved -- 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