]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Make MDS evaluates the overload situation with the same criterion
authorJianyu Li <joannyli@foxmail.com>
Thu, 30 Nov 2017 10:57:40 +0000 (18:57 +0800)
committerJianyu Li <joannyli@foxmail.com>
Wed, 20 Dec 2017 07:02:25 +0000 (15:02 +0800)
commit9a276c2733415f41d54524db20a9dd8eb62359bd
tree18220b60a55cce788fdbf96025c58217446dd84a
parentdda79ad1fad1caa6c341c7bbb0588ca7c9576372
Make MDS evaluates the overload situation with the same criterion

Currently, the prep_rebalancer requires the mds_load of itself
being greater than average level mds_bal_min_rebalance percent
to be counted as exporter, however, for the other mds, as long
as their mdsload is greater than average level, they could be
consider as exporter. This inconsistent standard would cause
gray area in the rebalance activity: one may expect the other
do some work, but it didn't. With the increasing amount of mds,
this inconsistent decision would get worse and affects the
optimization effect of rebalancer.

Signed-off-by: Jianyu Li <joannyli@tencent.com>
src/mds/MDBalancer.cc
src/mds/MDBalancer.h
src/messages/MHeartbeat.h