rpuch commented on code in PR #5187:
URL: https://github.com/apache/ignite-3/pull/5187#discussion_r1950335289
##########
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();
Review Comment:
Well, it makes it obvious for a human; I would leave it here (again, I just
moved the existing code)
--
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]