From: xie xingguo Date: Thu, 24 Mar 2016 02:32:51 +0000 (+0800) Subject: osd/pg: set dirty_info after we dirty history X-Git-Tag: v10.1.1~95^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8275%2Fhead;p=ceph.git osd/pg: set dirty_info after we dirty history Signed-off-by: xie xingguo --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 4e3a60349abc..557bbf80f663 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -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();