From 294cab11712a2dbadcf3eb5d98d4c2add4afe6a7 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Fri, 25 Mar 2016 11:25:53 +0800 Subject: [PATCH] osd/pg: publish stats to osd if pg is currently marked as down Signed-off-by: xie xingguo --- src/osd/PG.cc | 1 + 1 file changed, 1 insertion(+) 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; -- 2.47.3