[ https://issues.apache.org/jira/browse/IGNITE-25724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vyacheslav Koptilin reassigned IGNITE-25724: -------------------------------------------- Assignee: Vyacheslav Koptilin > Add metrics related to unrebalanced partitions > ---------------------------------------------- > > Key: IGNITE-25724 > URL: https://issues.apache.org/jira/browse/IGNITE-25724 > Project: Ignite > Issue Type: Improvement > Components: metrics ai3 > Reporter: Vyacheslav Koptilin > Assignee: Vyacheslav Koptilin > Priority: Major > Labels: ignite-3 > > I would suggest adding the following two metrics to zone metrics: > * localUnrebalancedPartitionsCount - number of partitions that should be > rebalanced to this node. > * totalUnrebalancedPartitionsCount - total number of partitions that should > be moved to a new owner. > > I don't see any value in implementing these metrics for non-colocated > clusters (see the colocation feature IGNITE-22115) > The calculation of these metrics can be based on the data provided by the > metastorage: > * zone.assignments.pending > * zone.assignments.stable > totalUnrebalancedPartitionsCount = for each partition: if pending key is not > empty for the partition, then +1 > localUnrebalancedPartitionsCount = for each partition: if stable key does not > contain the local node, but pending key does, then +1 -- This message was sent by Atlassian Jira (v8.20.10#820010)