From 7ab701a6c3b475849beaa4f7a23fb0406126d010 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 21 Jul 2013 22:03:19 -0700 Subject: hrm --- src/mon/OSDMonitor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 9c854cda86e..a86e13f1423 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -124,7 +124,8 @@ void OSDMonitor::update_from_paxos(bool *need_bootstrap) * transaction. Start with whichever is newer. */ version_t latest_full = get_version_latest_full(); - if (latest_full == 0 && get_first_committed() > 1) + if ((latest_full == 0 || latest_full < get_first_committed()) && + get_first_committed() > 1) latest_full = get_first_committed(); if ((latest_full > 0) && (latest_full > osdmap.epoch)) { bufferlist latest_bl; -- cgit v1.2.1