Commit 6bfce64
committed
mon: fix
Applying `fs set down false` on an up cluster will set the cluster's max_mds to 1, regardless of the cluster's current max_mds.
`fs set down false` should only change max_mds when the cluster was set to down. Otherwise, the cluster should remain unchanged.
Fixes: https://tracker.ceph.com/issues/66960
Signed-off-by: chungfengz <[email protected]>fs set down to adjust max_mds only when cluster is not down1 parent 23ab2b7 commit 6bfce64
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
601 | 606 | | |
602 | 607 | | |
603 | 608 | | |
| |||
0 commit comments