]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: make pool creation idempotent
authorSage Weil <sage@inktank.com>
Mon, 23 Jul 2012 23:03:46 +0000 (16:03 -0700)
committerSage Weil <sage@inktank.com>
Fri, 27 Jul 2012 17:43:25 +0000 (10:43 -0700)
commita01e22d2595dc4f95fab6013413da5f2455e95ff
tree11e6334d01f27c86edcd1153a0c7a32df953182e
parent5503376f4c1633bc2abcd219b0ce3abe94b6fa57
mon: make pool creation idempotent

Return success if the pool already exists.  Part of #2638.

Also, fix this so we wait until a creating pool is created before we reply.

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