Project

General

Profile

Actions

Bug #20076

closed

Pass empty string to clear mantle balancer

Added by Zhi Zhang almost 7 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
multimds
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Currently we can use "ceph fs set cephfs balancer <lua_conf_file>" to set mantle balancer. Then MDS balancer will try to use this mantle balancer firstly if MDS finds its balancer is not empty when handling hearbeat. If we want to switch back to old balancer, we need to set balancer to some strings which means an non-existed lua file to let MDS failing to reload it. But MDS still has to try reloading this non-existed lua file from OSD every time.

So we add a "clear_balancer" sub-command to clear mantle balancer, then MDS will see its balancer is empty again and won't send read OP to OSD every time.

Actions #2

Updated by Zhi Zhang almost 7 years ago

  • Subject changed from mantle: add clear_balancer sub-command to unset mantle balancer to Pass empty string to clear mantle balancer
Actions #3

Updated by Zhi Zhang almost 7 years ago

Changes have been made to use following command to clear mantle balancer

ceph fs set cephfs balancer "" 
Actions #4

Updated by John Spray almost 7 years ago

  • Status changed from New to Resolved
Actions #5

Updated by Patrick Donnelly about 5 years ago

  • Category deleted (90)
  • Labels (FS) multimds added
Actions

Also available in: Atom PDF