]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Don't start recovery for missing until active pg state set
authorDavid Zafman <dzafman@redhat.com>
Wed, 10 Jan 2018 21:30:41 +0000 (13:30 -0800)
committerDavid Zafman <dzafman@redhat.com>
Mon, 22 Jan 2018 18:43:23 +0000 (10:43 -0800)
commit40ecfe282e3f6584cb7f61ffbe99ea7cde7dfa18
tree25b78fb7bacb4d18e3891852cbca3a40d4e85688
parent02660d92390b4e4ba3ce46ccc1eba7bf0644460b
osd: Don't start recovery for missing until active pg state set

I was seeing recovery hang when it is started before _activate_committed()
The state machine passes into "Active" but this transitions to activating
pg state and after commmitted into "active" pg state.

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 64047e1bac2e775a06423a03cfab69b88462538c)
src/osd/PG.cc