Actions
Bug #20076
closedPass empty string to clear mantle balancer
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.
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
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 ""
Updated by Patrick Donnelly about 5 years ago
- Category deleted (
90) - Labels (FS) multimds added
Actions