Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mon: fix hang on deprecated/removed 'pg set_*full_ratio' commands #16300

Merged
merged 2 commits into from
Jul 14, 2017

Conversation

liewegas
Copy link
Member

Signed-off-by: Sage Weil <sage@redhat.com>
@tchaikov
Copy link
Contributor

retest this please.

mon->reply_command(op, -EOPNOTSUPP, "this command is obsolete", rdata,
get_last_committed());
return false;
}
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't these return true, as they've been handled?

Copy link
Member Author

Choose a reason for hiding this comment

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

yep, updated!

This includes 'pg set_full_ratio', which we have only for the upgrade, but
goes away afterwards.

Also, return true to either swallow the request or indicate it has been
processed.

Fixes: http://tracker.ceph.com/issues/20600
Signed-off-by: Sage Weil <sage@redhat.com>
@liewegas
Copy link
Member Author

@liewegas liewegas merged commit 7e287a4 into ceph:master Jul 14, 2017
@liewegas liewegas deleted the wip-20600 branch July 14, 2017 03:16
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