mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
Merge pull request #1817 from ceph/wip-osdmon-pa-wait
OSDMonitor: set next commit in mon primary-affinity reply Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
commit
7a1538187f
@ -4493,7 +4493,8 @@ bool OSDMonitor::prepare_command_impl(MMonCommand *m,
|
||||
pending_inc.new_primary_affinity[id] = ww;
|
||||
ss << "set osd." << id << " primary-affinity to " << w << " (" << ios::hex << ww << ios::dec << ")";
|
||||
getline(ss, rs);
|
||||
wait_for_finished_proposal(new Monitor::C_Command(mon, m, 0, rs, get_last_committed()));
|
||||
wait_for_finished_proposal(new Monitor::C_Command(mon, m, 0, rs,
|
||||
get_last_committed() + 1));
|
||||
return true;
|
||||
}
|
||||
} else if (prefix == "osd reweight") {
|
||||
|
Loading…
Reference in New Issue
Block a user