]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: add mon_fake_pool_delete option
authorSage Weil <sage@redhat.com>
Tue, 18 Apr 2017 19:53:50 +0000 (15:53 -0400)
committerSage Weil <sage@redhat.com>
Fri, 5 May 2017 17:39:13 +0000 (13:39 -0400)
commitc378f14030b6e004fbb101f5c491fc7df7783270
tree8fff6d061236762bd79efc0e51266be74809b78a
parent434351ba590897cc9e441a3b63184cb6107e2978
mon/OSDMonitor: add mon_fake_pool_delete option

Instead of deleting a pool, add a .NNN.DELETED suffix to the end.  This
keeps the data around long enough for it to be scrubbed later (in the
case of a teuthology job cleanup).

If you really want to delete the pool, then instead of the usual force
flag option you can pass --yes-i-really-really-mean-it-not-faking.  :)

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h
src/mon/MonCommands.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/test/librados/test.cc