Lalant commented on code in PR #7379:
URL: https://github.com/apache/ignite-3/pull/7379#discussion_r2707851586


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/raft/TablePartitionProcessor.java:
##########
@@ -501,8 +505,17 @@ private CommandResult handlePrimaryReplicaChangeCommand(
             long commandIndex,
             long commandTerm
     ) {
+        long storageLastAppliedIndex = storage.lastAppliedIndex();
+        LOG.info("Handling PrimaryReplicaChangeCommand [tableId={}, partId={}, 
commandIndex={}, storageLastAppliedIndex={}, "

Review Comment:
   Done



##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/storage/state/rocksdb/TxStateMetaRocksDbPartitionStorage.java:
##########
@@ -166,6 +167,11 @@ void updateConfiguration(WriteBatch writeBatch, byte[] 
config) throws RocksDBExc
     }
 
     void updateLease(WriteBatch writeBatch, LeaseInfo leaseInfo) throws 
RocksDBException {
+        long currentLeaseStartTime = Optional.ofNullable(this.leaseInfo)
+                .map(LeaseInfo::leaseStartTime).orElse(Long.MIN_VALUE);

Review Comment:
   Done



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