From efc7bf15a0ccf768e97ed7a778dd5abdde348580 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 3 Oct 2008 14:51:51 -0700 Subject: [PATCH] mon: tell osd we manually mark "down" --- src/mon/OSDMonitor.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index fb60d1752f40c..633ba3e560d56 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -972,6 +972,10 @@ bool OSDMonitor::prepare_command(MMonCommand *m) ss << "marked down osd" << osd; getline(ss, rs); paxos->wait_for_commit(new Monitor::C_Command(mon, m, 0, rs)); + + // send them the new map when it updates, so they know it + waiting_for_map[osdmap.get_inst(osd)] = osdmap.get_epoch(); + return true; } } -- 2.39.5