This is what
e213b1bc25a212ffe42623c1d4b4eadf9f69319e intended to do
but managed to bungle by using >= instead of >.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
sp.reset_timeout(g_ceph_context, g_conf->mon_sync_timeout * 2);
if (sp.last_committed < paxos->get_first_committed() &&
- paxos->get_first_committed() >= 1) {
+ paxos->get_first_committed() > 1) {
dout(10) << __func__ << " sync requester fell behind paxos, their lc " << sp.last_committed
<< " < our fc " << paxos->get_first_committed() << dendl;
sync_providers.erase(m->cookie);