sanpwc commented on code in PR #4747: URL: https://github.com/apache/ignite-3/pull/4747#discussion_r1853630558
########## 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: How it's possible to have nextAssignment not in partAssignment? It it's not, I'd rather add an assert. -- 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