Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
info.history.same_primary_since = osdmap.get_epoch();
}
- dout(10) << *this << " noting past " << i << dendl;
+ dout(10) << " noting past " << i << dendl;
dirty_info = true;
}
continue;
}
- // FIXME: do we really need to request the whole log here? can we
- // build peer_missing with less?
+ // We pull the log from the peer's last_epoch_started to ensure we
+ // get enough log to detect divergent updates.
dout(10) << " requesting missing from osd" << *i << dendl;
context< RecoveryMachine >().send_query(*i,
Query(Query::LOG,