From: xie xingguo Date: Fri, 7 Sep 2018 03:05:02 +0000 (+0800) Subject: osd/PG: async-recovery should respect historical missing objects X-Git-Tag: v14.0.1~237^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab241bf7e927cda2d0ed1698383d18dc4a4b601c;p=ceph-ci.git osd/PG: async-recovery should respect historical missing objects Peers with async-recovery enabled are usually having a update-to-date last-update iterator and hence might be moved out from the __async_recovery_targets__ set during the next peering circles. 7de35629f562436d2bdb85788bdf97b10db3f556 makes num_objects_missing trace historical missing objects correctly, hence we could take num_objects_missing into account when determing __async_recovery_targets__. Signed-off-by: xie xingguo --- diff --git a/src/common/options.cc b/src/common/options.cc index d1c295d3fb3..2bd33f07bdd 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3227,9 +3227,11 @@ std::vector