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

jewel: Error EINVAL: removing mon.a at 172.21.15.16:6789/0, there will be 1 monitors #11999

Merged
merged 2 commits into from Dec 1, 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
3 changes: 1 addition & 2 deletions src/mon/MonmapMonitor.cc
Expand Up @@ -414,7 +414,6 @@ bool MonmapMonitor::prepare_command(MonOpRequestRef op)
ss << "adding mon." << name << " at " << addr;
propose = true;
dout(0) << __func__ << " proposing new mon." << name << dendl;
goto reply;

} else if (prefix == "mon remove" ||
prefix == "mon rm") {
Expand Down Expand Up @@ -467,7 +466,7 @@ bool MonmapMonitor::prepare_command(MonOpRequestRef op)
ss << "removing mon." << name << " at " << addr
<< ", there will be " << pending_map.size() << " monitors" ;
propose = true;
goto reply;
err = 0;

} else {
ss << "unknown command " << prefix;
Expand Down