sanpwc commented on code in PR #4688: URL: https://github.com/apache/ignite-3/pull/4688#discussion_r1847977214
########## modules/table/src/main/java/org/apache/ignite/internal/table/distributed/disaster/GroupUpdateRequest.java: ########## @@ -272,19 +302,28 @@ private static CompletableFuture<Integer> partitionUpdate( null ); } else { - Set<Assignment> stableAssignments = Set.copyOf(partAssignments); + assert !partAssignments.isEmpty() : "Alive nodes with data should not be empty"; + + List<Assignment> nextAssignments = new ArrayList<>(partAssignments); + + nextAssignments.sort( Review Comment: Oops, I've missed `.thenComparing(Assignment::consistentId));` -- 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