From: Sage Weil Date: Wed, 11 Nov 2015 03:19:48 +0000 (-0500) Subject: mon/OSDMonitor: fix oldest_map in send_incremental X-Git-Tag: v10.0.1~26^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ca75e37a302b6ce48db9f776453a881089f0c82e;p=ceph.git mon/OSDMonitor: fix oldest_map in send_incremental This should be the oldest map on the sender (like every other place that generates an MOSDMap message). Signed-off-by: Sage Weil --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index edc9648056db..93c17004afdc 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -2445,7 +2445,7 @@ void OSDMonitor::send_incremental(epoch_t first, << first << " " << bl.length() << " bytes" << dendl; MOSDMap *m = new MOSDMap(osdmap.get_fsid()); - m->oldest_map = first; + m->oldest_map = get_first_committed(); m->newest_map = osdmap.get_epoch(); m->maps[first] = bl;