]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
discard the mdsload clear after prep_rebalance in case we want to export it for debugging 21267/head
authorJianyu Li <joannyli@foxmail.com>
Fri, 17 Nov 2017 07:08:35 +0000 (15:08 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 6 Apr 2018 03:18:34 +0000 (20:18 -0700)
Signed-off-by: Jianyu Li <joannyli@tencent.com>
(cherry picked from commit 513f2e57666bd08242fc639ebc5c65db12742a01)

src/mds/MDBalancer.cc

index 9ebf9066b7f1e54ec29831fb9cb19a8170b44f0d..67a99e72c55bad0cf71338c2a34c6f2c3b75999f 100644 (file)
@@ -413,8 +413,6 @@ void MDBalancer::handle_heartbeat(MHeartbeat *m)
                           << " : " << cpp_strerror(r);
       }
       prep_rebalance(m->get_beat());
-    
-      mds_load.clear();
     }
   }