sanpwc commented on code in PR #6148: URL: https://github.com/apache/ignite-3/pull/6148#discussion_r2174743137
########## modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/rebalance/ZoneRebalanceUtil.java: ########## @@ -757,4 +758,23 @@ public static List<AssignmentsChain> zoneAssignmentsChainGetLocally( return e != null ? AssignmentsChain.fromBytes(e.value()) : null; } + + /** + * Returns partition assignments from meta storage. + * + * @param metaStorageManager Meta storage manager. + * @param zoneId Zone ID. + * @param partitionId Partition ID. + * @return Future with partition assignments as a value. + */ + @TestOnly + public static CompletableFuture<Set<Assignment>> stablePartitionAssignments( Review Comment: Yes, it's. However it'll look like uglier `ZoneRebalanceUtil.zoneStableAssignments(ignite.metaStorageManager(), tableOrZoneId, new int[]{0}).join().get(0).nodes()` -- 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