ibessonov commented on code in PR #5663:
URL: https://github.com/apache/ignite-3/pull/5663#discussion_r2050486567
##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/impl/MetaStorageManagerImpl.java:
##########
@@ -1263,28 +1274,33 @@ public KeyValueStorage storage() {
return storage;
}
- private <T> CompletableFuture<T>
withTrackReadOperationFromLeaderFuture(Supplier<CompletableFuture<T>>
readFromLeader) {
+ private <T> CompletableFuture<T> withTrackReadOperationFromLeaderFuture(
+ long operationRevision,
+ Supplier<CompletableFuture<T>> readFromLeader
+ ) {
+ long trackingRevision = operationRevision == LATEST_REVISION ?
storage.revision() : operationRevision;
Review Comment:
I'll remove this code next time, so let's not wait for another TC run. Thank
you!
--
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]