From 186f00c5d9f3e42322f98e97144568d14c17977e Mon Sep 17 00:00:00 2001 From: Jianyu Li Date: Fri, 17 Nov 2017 15:08:35 +0800 Subject: [PATCH] discard the mdsload clear after prep_rebalance in case we want to export it for debugging Signed-off-by: Jianyu Li (cherry picked from commit 513f2e57666bd08242fc639ebc5c65db12742a01) --- src/mds/MDBalancer.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mds/MDBalancer.cc b/src/mds/MDBalancer.cc index 9ebf9066b7f1e..67a99e72c55ba 100644 --- a/src/mds/MDBalancer.cc +++ b/src/mds/MDBalancer.cc @@ -413,8 +413,6 @@ void MDBalancer::handle_heartbeat(MHeartbeat *m) << " : " << cpp_strerror(r); } prep_rebalance(m->get_beat()); - - mds_load.clear(); } } -- 2.39.5