alievmirza commented on code in PR #4966:
URL: https://github.com/apache/ignite-3/pull/4966#discussion_r1898499376
##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/rebalance/RebalanceUtil.java:
##########
@@ -490,6 +494,17 @@ public static ByteArray
stablePartAssignmentsKey(TablePartitionId partId) {
return new ByteArray(STABLE_ASSIGNMENTS_PREFIX + partId);
}
+ /**
+ * Key that is needed for the rebalance algorithm.
+ *
+ * @param partId Unique identifier of a partition.
+ * @return Key for a partition.
+ * @see <a
href="https://github.com/apache/ignite-3/blob/main/modules/table/tech-notes/rebalance.md">Rebalance
documentation</a>
Review Comment:
Also, do we need the same mechanism in `ZoneRebalanceUtil` for the purposes
of collocation?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]