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

hammer: mon: MonmapMonitor should return success when MON will be removed #12006

Merged
merged 1 commit into from Nov 21, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/mon/MonmapMonitor.cc
Expand Up @@ -373,6 +373,7 @@ bool MonmapMonitor::prepare_command(MMonCommand *m)
pending_map.remove(name);
pending_map.last_changed = ceph_clock_now(g_ceph_context);
ss << "removed mon." << name << " at " << addr << ", there are now " << pending_map.size() << " monitors" ;
err = 0;
getline(ss, rs);
// send reply immediately in case we get removed
mon->reply_command(m, 0, rs, get_last_committed());
Expand Down