ascherbakoff commented on code in PR #5124:
URL: https://github.com/apache/ignite-3/pull/5124#discussion_r1935375638
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/raft/PartitionListener.java:
##########
@@ -270,12 +281,7 @@ private IgniteBiTuple<Serializable, Boolean>
handleUpdateCommand(UpdateCommand c
long storageLeaseStartTime = storage.leaseStartTime();
if (leaseStartTime != storageLeaseStartTime) {
- return new IgniteBiTuple<>(new UpdateCommandResult(
- false,
- storageLeaseStartTime,
- isPrimaryInGroupTopology(),
- cmd.safeTime().longValue()
- ), false);
+ return new IgniteBiTuple<>(new UpdateCommandResult(false,
storageLeaseStartTime, isPrimaryInGroupTopology(), 0), false);
Review Comment:
This value means 'null'. In case of lease mismatch it's not used.
--
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]