]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSD: Initialize pool and recovery_state in the order they are defined
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 2 May 2019 16:48:44 +0000 (12:48 -0400)
committerKefu Chai <kchai@redhat.com>
Fri, 21 Jun 2019 03:41:16 +0000 (11:41 +0800)
commit6248c40d542e08cb9a7dd8a4399c44110b334f23
tree194605177ab9efa9178ff86b847b0be883bc194b
parent975fafed352daf630b23795ff17aaac90979d851
OSD: Initialize pool and recovery_state in the order they are defined

Currently we call get_pool on the PeeringState before the PeeringState
has been initialized.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/osd/PG.cc
src/osd/PG.h