]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/pg: set dirty_info after we dirty history 8275/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 24 Mar 2016 02:32:51 +0000 (10:32 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 24 Mar 2016 02:32:51 +0000 (10:32 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.cc

index 4e3a60349abc1640a7065eb73f08dbf585c8701a..557bbf80f6630e48e7bc213982cfa35e2c6f55ed 100644 (file)
@@ -6837,6 +6837,7 @@ boost::statechart::result PG::RecoveryState::Active::react(const AllReplicasActi
 
   // info.last_epoch_started is set during activate()
   pg->info.history.last_epoch_started = pg->info.last_epoch_started;
+  pg->dirty_info = true;
 
   pg->share_pg_info();
   pg->publish_stats_to_osd();