Loading
Backport #3759 to Release 2.10 branch. (cherry-picked from master branch #4340) (#4341)
Organize the processes into groups so that the two steps of metadata aggregation has more or less the same number or participants. This replaces in-node aggregation in first step. The new strategy balances the size of metadata gathered in the two steps.