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 the can't change subscribe level bug in monitoring log #7031

Merged
merged 3 commits into from Jan 3, 2016

Conversation

wonzhq
Copy link
Contributor

@wonzhq wonzhq commented Dec 23, 2015

No description provided.

@tchaikov
Copy link
Contributor

lgtm with a nit. @jecluis do you mind reviewing it also? thanks.

@wonzhq
Copy link
Contributor Author

wonzhq commented Dec 24, 2015

@tchaikov updated, thx for taking a look.

For monitoring log, when changing between different levels, should
remove previous level in the subscribes. This is because unlike other
PaxosServices, LogMonitor has multiple subscription names/types and
they are log levels, and hence mutual exclusive. when setting a new
subscription for logmon, we need to remove the old log level if any.

Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
This test doesn't pass previously because of a bug. After fixing it, we
can now enable this test.

Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
@tchaikov
Copy link
Contributor

lgtm.

liewegas added a commit that referenced this pull request Jan 3, 2016
mon: fix the can't change subscribe level bug in monitoring log

Reviewed-by: Kefu Chai <kchai@redhat.com>
@liewegas liewegas merged commit ddfa31b into ceph:master Jan 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants