Skip to content

squid: mon: fix fs set down to adjust max_mds only when cluster is not down - #59704

Merged
mchangir merged 2 commits into
ceph:squidfrom
vshankar:wip-67374-squid
Jan 2, 2025
Merged

mchangir merged 2 commits into
ceph:squidfrom
vshankar:wip-67374-squid

Conversation

@vshankar

Copy link
Copy Markdown
Contributor

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]>
(cherry picked from commit 6bfce64)

 Conflicts:
	src/mon/FSCommands.cc

Minor conflict in src/mon/FSCommands.cc related to modify_filesystem()
helper.
@vshankar
vshankar requested a review from a team as a code owner September 10, 2024 11:56
@vshankar vshankar added this to the squid milestone Sep 10, 2024
@vshankar vshankar added the core label Sep 10, 2024
@github-actions github-actions Bot added cephfs Ceph File System mon tests labels Sep 10, 2024
@vshankar

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@vshankar

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@vshankar vshankar closed this Sep 24, 2024
@vshankar vshankar reopened this Sep 24, 2024
@vshankar

Copy link
Copy Markdown
Contributor Author

jenkins test make check

1 similar comment
@vshankar

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@vshankar

Copy link
Copy Markdown
Contributor Author

@mchangir mchangir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mchangir
mchangir merged commit f898341 into ceph:squid Jan 2, 2025
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
squid: mon: fix `fs set down` to adjust max_mds only when cluster is not down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants