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


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -1092,6 +1093,10 @@ private CompletableFuture<Boolean> 
onTablePrimaryReplicaExpired(PrimaryReplicaEv
         return falseCompletedFuture();
     }
 
+    private boolean thisNodeHoldsLease(@Nullable UUID leaseholderId) {

Review Comment:
   `if (thisNodeHoldsLease(id))` looks much more natural to me



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