sanpwc commented on code in PR #4747: URL: https://github.com/apache/ignite-3/pull/4747#discussion_r1853627459
########## modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/GroupUpdateRequest.java: ########## @@ -304,14 +304,19 @@ private static CompletableFuture<Integer> partitionUpdate( Assignment nextAssignment = nextAssignment(localPartitionStateMessageByNode, partAssignments); + boolean isNextEqualsToRestoredAsPlannedAssignments = partAssignments.size() == 1 && partAssignments.contains(nextAssignment); Review Comment: I believe that something like `isProposedPendingEqualsProposedPlanned` would be clearer. Up to 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org