]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: handle 'osd tier add ...' race/corner case
authorSage Weil <sage@inktank.com>
Mon, 3 Mar 2014 19:32:48 +0000 (11:32 -0800)
committerSage Weil <sage@inktank.com>
Tue, 4 Mar 2014 05:16:24 +0000 (21:16 -0800)
commit62e0eb7f2e9cbeaa46f8304b0be93e95f5c5c73e
tree21c1a3eb5a71ece107f7c894740a9cf0e4a3b35e
parent0e5fd0e32227aa830e6639f4a39d767911298604
mon/OSDMonitor: handle 'osd tier add ...' race/corner case

If you have two racing requests to add two different pools as a tier, the
committed checks will pass but they proposals will conflict.  Recheck the
pending pools for the same conditions and wait for a commit if they
occur.

Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/OSDMonitor.cc