]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: add pg_state_ready for pgs show in unknown state
authorhuanwen ren <ren.huanwen@zte.com.cn>
Wed, 22 Aug 2018 07:07:57 +0000 (15:07 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 27 Sep 2018 15:22:40 +0000 (23:22 +0800)
commit95b7d2340c04dc7cf90085c89606b8c85a8f2803
treecbf20bc6967189b71cabd366a591aed3d3ef81ad
parentc25ef2a7ee5af3252c656477715bb2f3b1247eae
mgr: add pg_state_ready for pgs show in unknown state

Pgs show the unknown state, when the mgr has just started, use the command ceph pg dump pgs_brief\pgs\...,
because the pgs state has not been reported from the Osd to the Mgr service,
we need to add this state for pgs show. in this way,our management system can judge whether to filter
the unknown pg state based on this flag.

Fixes: http://tracker.ceph.com/issues/25103
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/mgr/DaemonServer.cc