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 commands advertised during mon cluster upgrade #16871

Merged
merged 4 commits into from Aug 7, 2017

Commits on Aug 7, 2017

  1. mon: use vector<MonCommand> throughput for commands

    The old code was pretty messy. This is standardizes on std::vector
    throughout.  We also drop the win_election command args because
    when we win an election we always set the leader commands to our
    commands, and we can do that inside win_command() without passing
    them in from here.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Aug 7, 2017
    Copy the full SHA
    349b3c9 View commit details
    Browse the repository at this point in the history
  2. mon: include PGMonitor commands with mixed-version mons

    While we have a mixed version cluster, we have to advertise our
    PGMonitor commands to our peons or else commands like 'pg dump'
    won't work.
    
    Once the mon feature flag is set, we can drop that because each
    mon will include the mgr commands (either those stored in paxos
    or the statically compiled ones until that point).
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Aug 7, 2017
    Copy the full SHA
    2d9045a View commit details
    Browse the repository at this point in the history
  3. mon/MonCommands: mark 'pg force_create_pg' deprecated

    It's deprecated.
    
    Also, this avoids a dup when we have an upgrading mon cluster
    and it's also in PGMonitorCommands.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Aug 7, 2017
    Copy the full SHA
    7c37c86 View commit details
    Browse the repository at this point in the history
  4. qa/suites/upgrade/jewel-x/parallel: fix POOL_APP_NOT_ENABLED disable

    This code runs on the mgr.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Aug 7, 2017
    Copy the full SHA
    3e7d157 View commit details
    Browse the repository at this point in the history