]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: osd create pool must fail on incompatible type
authorLoic Dachary <loic@dachary.org>
Sat, 21 Dec 2013 14:49:19 +0000 (15:49 +0100)
committerLoic Dachary <loic@dachary.org>
Sun, 22 Dec 2013 22:43:50 +0000 (23:43 +0100)
commitdf0d038d7b7b4783bc9d3ce1e4d49afc4c89714e
tree59e9522266946ff543b4eea08ed189b60be24eb2
parentaf22b0a09b3eeac17f3d0b2aeb6c59d9883d79b9
mon: osd create pool must fail on incompatible type

When osd create pool is called twice on the same pool, it will succeed
because the pool already exists. However, if a different type is
specified, it must fail.

Signed-off-by: Loic Dachary <loic@dachary.org>
qa/workunits/cephtool/test.sh
src/mon/OSDMonitor.cc
src/osd/osd_types.h