]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: async-recovery should respect historical missing objects
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 7 Sep 2018 03:05:02 +0000 (11:05 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 19 Sep 2018 04:06:01 +0000 (12:06 +0800)
commitab241bf7e927cda2d0ed1698383d18dc4a4b601c
treeea75b4bfd11dcadfdb57e536eea6caf89e08ea4a
parentf557a78540e56a3197ca0e3173cc726afc18ac28
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 <xie.xingguo@zte.com.cn>
src/common/options.cc
src/osd/PG.cc