sashapolo commented on code in PR #3042:
URL: https://github.com/apache/ignite-3/pull/3042#discussion_r1452068421


##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/impl/MetaStorageManagerImpl.java:
##########
@@ -855,19 +824,19 @@ private void onSafeTimeAdvanced(HybridTimestamp time) {
     }
 
     /**
-     * Saves processed Meta Storage revision and corresponding entries to the 
Vault.
+     * Saves processed Meta Storage revision to the {@link #appliedRevision}.
      */
-    private CompletableFuture<Void> onRevisionApplied(WatchEvent watchEvent) {
+    private CompletableFuture<Void> onRevisionApplied(long revision) {

Review Comment:
   1. This method doesn't need to return a future anymore.
   2. All it does is assign a field, I guess we no longer need the busy lock as 
well.



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