mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
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>
This commit is contained in:
parent
1cdb3ecffc
commit
76cd7ac1c2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user