PG::discover_all_missing: request a FULLLOG

Otherwise, we cannot correct for divergent objects in the missing
set.

Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
Samuel Just 2014-02-10 14:05:09 -08:00
parent 84e2f39c55
commit 0b180e6a62

View File

@ -517,7 +517,7 @@ void PG::discover_all_missing(map<int, map<spg_t,pg_query_t> > &query_map)
peer_missing_requested.insert(peer);
query_map[peer.osd][spg_t(info.pgid.pgid, peer.shard)] =
pg_query_t(
pg_query_t::MISSING,
pg_query_t::FULLLOG,
peer.shard, pg_whoami.shard,
info.history, get_osdmap()->get_epoch());
}