From: xie xingguo Date: Fri, 25 Mar 2016 03:25:53 +0000 (+0800) Subject: osd/pg: publish stats to osd if pg is currently marked as down X-Git-Tag: v10.1.1~98^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=294cab11712a2dbadcf3eb5d98d4c2add4afe6a7;p=ceph.git osd/pg: publish stats to osd if pg is currently marked as down Signed-off-by: xie xingguo --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 14ac7b48234c..13bb8d097118 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -7225,6 +7225,7 @@ boost::statechart::result PG::RecoveryState::GetInfo::react(const MNotifyRec& in if (!any_up_complete_now && any_down_now) { dout(10) << " no osds up+complete from interval " << interval << dendl; pg->state_set(PG_STATE_DOWN); + pg->publish_stats_to_osd(); return discard_event(); } break;