From: Sage Weil Date: Fri, 2 May 2014 22:00:11 +0000 (-0700) Subject: mon/OSDMonitor: share latest map with osd on dup boot message X-Git-Tag: v0.80~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4e0eaa953e6300ca0747ad50736939324526f68a;p=ceph.git mon/OSDMonitor: share latest map with osd on dup boot message If we get a dup boot message, share the newer maps with the osd so that they know they are living in the past. Fixes: #8279 Signed-off-by: Sage Weil Reviewed-by: Joao Eduardo Luis (cherry picked from commit 2e6b24868da0b203c2d70ac91071166d95d1d851) --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 78799d00ca6..dd027b2c917 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -1210,6 +1210,7 @@ bool OSDMonitor::preprocess_boot(MOSDBoot *m) if (osdmap.exists(from) && osdmap.get_info(from).up_from > m->version) { dout(7) << "prepare_boot msg from before last up_from, ignoring" << dendl; + send_latest(m, m->sb.current_epoch+1); goto ignore; }