tkalkirill commented on code in PR #4602:
URL: https://github.com/apache/ignite-3/pull/4602#discussion_r1808555303


##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/server/WatchProcessor.java:
##########
@@ -381,4 +381,17 @@ public CompletableFuture<Void> 
notifyUpdateRevisionListeners(long newRevision) {
 
         return futures.isEmpty() ? nullCompletedFuture() : 
allOf(futures.toArray(CompletableFuture[]::new));
     }
+
+    /**
+     * Returns a future that will complete when the task in the WatchEvent 
queue is complete.
+     *
+     * <p>This method is not thread-safe and must be performed under an 
exclusive lock in concurrent scenarios.</p>

Review Comment:
   Answered above.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to