]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
osd/osd_type: disable incremental recovery for legacy missing item
authorxie xingguo <xie.xingguo@zte.com.cn>
Wed, 21 Aug 2019 08:34:26 +0000 (16:34 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 22 Aug 2019 05:45:58 +0000 (13:45 +0800)
which is important to let us talk with pre-octopus osds and
make sure the pg_missing_items created before Octopus can be
correctly (fully) recovered too.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/osd_types.h

index ac981625bda1bed0cfbfc7d72740ff5ff2deb07e..f42a64d82fa4196a063bd9df1e6f87b1e38cea99 100644 (file)
@@ -4286,6 +4286,7 @@ struct pg_missing_item {
       uint8_t f;
       decode(f, bl);
       flags = static_cast<missing_flags_t>(f); 
+      clean_regions.mark_fully_dirty();
     }
   }