From: Joao Eduardo Luis Date: Wed, 24 Jul 2013 11:00:28 +0000 (+0100) Subject: mon: OSDMonitor: fix a bug introduced on 97462a32 X-Git-Tag: v0.67-rc2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=76cd7ac1c2094b34ad36bea89b2246fa90eb2f6d;p=ceph.git mon: OSDMonitor: fix a bug introduced on 97462a32 Fixes: #5737 Backport: cuttlefish Signed-off-by: Joao Eduardo Luis Reviewed-by: Sage Weil --- diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index b02a36512527..f2e51e406851 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -141,7 +141,7 @@ void OSDMonitor::update_from_paxos(bool *need_bootstrap) latest_full = 0; for (version_t v = lc; v >= fc; v--) { - string full_key = "full_" + stringify(latest_full); + string full_key = "full_" + stringify(v); if (mon->store->exists(get_service_name(), full_key)) { dout(10) << __func__ << " found latest full map v " << v << dendl; latest_full = v;