]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: make racing dup pool rename behave 765/head
authorSage Weil <sage@inktank.com>
Sat, 26 Oct 2013 00:45:06 +0000 (17:45 -0700)
committerSage Weil <sage@inktank.com>
Sat, 26 Oct 2013 00:45:06 +0000 (17:45 -0700)
commit8282e24dd6ff383e6b5c11ddffd825a2a0754886
tree3cae0fb14ad453d592606ed559424f19a6089478
parentc14c98d3f094d34907cc1fb97e7ef816f8dc0ba9
mon/OSDMonitor: make racing dup pool rename behave

If we get dup pool rename requests that are racing, make sure the second
one comes back with 'success' if the rename entry already exists in the
pending_inc map.

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