]> git.apps.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)
committerYan, Zheng <zyan@redhat.com>
Thu, 19 Apr 2018 00:10:26 +0000 (08:10 +0800)
commit9d3f8067f304e70c8132217e583257c238e0739d
treebda145f114da63e8cc5f99bfafc621a184bbdd46
parent5f868f0c95c291f8a3331faa52eaadf6afb9f3d2
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>
(cherry picked from commit 9a276c2733415f41d54524db20a9dd8eb62359bd)

 Conflicts:
src/messages/MHeartbeat.h
src/mds/MDBalancer.cc
src/mds/MDBalancer.h
src/messages/MHeartbeat.h