summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Eduardo Luis <joao.luis@inktank.com>2013-07-24 12:00:28 +0100
committerSage Weil <sage@inktank.com>2013-07-24 08:58:26 -0700
commit76cd7ac1c2094b34ad36bea89b2246fa90eb2f6d (patch)
treedf0c65e68d42881c9219540397e516682cd4afff
parent1cdb3ecffc679f29e9d77dc0d5ff33bdb1192b49 (diff)
downloadceph-76cd7ac1c2094b34ad36bea89b2246fa90eb2f6d.tar.gz
mon: OSDMonitor: fix a bug introduced on 97462a32
Fixes: #5737 Backport: cuttlefish Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/mon/OSDMonitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc
index b02a3651252..f2e51e40685 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;