]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: add 'activating' pg state between peering and active
authorSage Weil <sage@redhat.com>
Tue, 13 Jan 2015 15:55:16 +0000 (07:55 -0800)
committerSage Weil <sage@redhat.com>
Tue, 13 Jan 2015 15:55:16 +0000 (07:55 -0800)
commit77bc23c3ac684516ffe4d93be91b82cfef41b4a0
tree55898bd95919145d0387651a3815b2b84888e791
parentfc7fa3087d66ce4606d8ec10440fa2ea9d707caa
osd/PG: add 'activating' pg state between peering and active

When peering completes we wait for everybody to commit the PG info before
going active.  The peering state is cleared but active is not set, which
means the admin sees PGs in states like 'inactive', 'remapped', or
other confusing names.

Add an 'activating' state that bridges the gap.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/osd_types.cc
src/osd/osd_types.h