]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: tolerate promotion completion with stopped agent 6008/head
authorSage Weil <sage@redhat.com>
Mon, 21 Sep 2015 15:41:03 +0000 (11:41 -0400)
committerSage Weil <sage@redhat.com>
Mon, 21 Sep 2015 15:41:03 +0000 (11:41 -0400)
commitfd9ce66e8b76787f69c5e337332d57aa72c8b8d5
tree3b45ee9e77c877f98d08034d88059c0ec3ae5156
parent63be27977e5e30e8a0ef2380c4c0962d9ae053d3
osd/ReplicatedPG: tolerate promotion completion with stopped agent

We may start a promotion, then get a pool update that disables the
agent, and then complete it.  We should not segfault in this case.

Fixes: #13190
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ReplicatedPG.cc