]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: block 'ceph osd pg-temp ...' if update is pending 6704/head
authorSage Weil <sage@redhat.com>
Wed, 25 Nov 2015 21:40:13 +0000 (16:40 -0500)
committerSage Weil <sage@redhat.com>
Wed, 25 Nov 2015 21:40:13 +0000 (16:40 -0500)
commit3680dc32ca600ea319c0fd010a8c9b09642ee750
tree73f8fd26dba4768d03640372094a2ccc3955edff
parent1e9aeb5728e2baacdf017b17f4f3b5a02496e1fd
mon/OSDMonitor: block 'ceph osd pg-temp ...' if update is pending

The OSD expects it's pg_temp update requests to succeed.  If it
races with an ill-timed admin request, it can get stuck in
WaitActingChange indefinitely.

This is only a real problem now that the OSD/mon interaction has
been updated with wip-bigbang; previously we would retry (although
it would take a while).  Backporting is optional.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc