Nikita Amelchev created IGNITE-29217:
----------------------------------------

             Summary: Take the rebalance keys estimate from the supplier 
instead of exchange partition sizes
                 Key: IGNITE-29217
                 URL: https://issues.apache.org/jira/browse/IGNITE-29217
             Project: Ignite
          Issue Type: Improvement
            Reporter: Nikita Amelchev
            Assignee: Nikita Amelchev


The coordinator broadcasts partition sizes of every cache group in each 
\{{GridDhtPartitionsFullMessage}} only to feed the 
\{{EstimatedRebalancingKeys}} metric, which the demander reads once, when 
rebalance assignments are generated, and only with cache statistics enabled. 
The supplier knows the exact sizes when it starts supplying, so they belong in 
the first supply message of a demand, and neither the exchange full message nor 
the partition map refresh needs to carry them.
 
*Rolling upgrade.* Gated by a core feature: while it is inactive the 
coordinator keeps sending the sizes and the demander keeps reading them, so 
nodes of the previous version see no change.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to