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

Commits on Dec 24, 2015

  1. mon: remove conflicting subscribes when handle_subscribe

    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>
    wonzhq committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    9ea99fa View commit details
    Browse the repository at this point in the history
  2. mon: don't send Mlog msg to client when there is no entries

    Signed-off-by: Zhiqiang Wang <wonzhq@hotmail.com>
    wonzhq committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    7485668 View commit details
    Browse the repository at this point in the history
  3. test: enable changing subscribe level testing

    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>
    wonzhq committed Dec 24, 2015
    Configuration menu
    Copy the full SHA
    9af4d56 View commit details
    Browse the repository at this point in the history