]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PG::discover_all_missing: request a FULLLOG
authorSamuel Just <sam.just@inktank.com>
Mon, 10 Feb 2014 22:05:09 +0000 (14:05 -0800)
committerSamuel Just <sam.just@inktank.com>
Tue, 18 Feb 2014 04:12:14 +0000 (20:12 -0800)
Otherwise, we cannot correct for divergent objects in the missing
set.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.cc

index ded126a31a1084ea5cf7a13b1670fef686be5e7f..6cc476ea1f9cc7cf7de65a8a583ca67191125bb0 100644 (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());
   }