SammyVimes commented on code in PR #1869:
URL: https://github.com/apache/ignite-3/pull/1869#discussion_r1159369537


##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/impl/MetaStorageRaftGroupEventsListener.java:
##########
@@ -156,11 +178,16 @@ private void executeIfLeader(OnLeaderAction action) {
     }
 
     private CompletableFuture<Void> executeIfLeaderImpl(OnLeaderAction action) 
{
+        return executeWithStatus((service, term, isLeader) -> 
action.apply(service, term));

Review Comment:
   What do you mean?



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