ceph/qa/workunits
xie xingguo be07a418b5 mon: OSDMonitor: add a guard for prepare_remove_snaps()
Method preprocess_remove_snaps() is designed to fast check whether
we can safely handle a remove-snaps-request without changing the osdmap.
The original design is to be able to handle snaps from multiple pools,
including those snaps even from a non-existent pool by simply skipping
over them. However, this method will quit on successfully detecting
any vaild snap which is truly needed to be removed and forward this
request to prepare_remove_snaps() for further processing.

From the above analysis, the prepare_remove_snaps() method will
theoretically also encounter some snaps which possibly belong to
non-existent pools.

This pr solves the above problem by adding a sanity check against
pool existense associated with the specified snap to be removed, which
shall be considered as a defensive move and makes prepare_remove_snaps()
stronger.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-07 17:31:58 +08:00
..
caps
ceph-deploy
ceph-disk tests: verify ceph-disk lockbox activation scenarii 2016-03-04 09:13:35 +07:00
cephtool mon: OSDMonitor: add a guard for prepare_remove_snaps() 2016-04-07 17:31:58 +08:00
cls
direct_io
erasure-code
fs Merge pull request #7901 from jcsp/wip-pycephfs-fixes 2016-03-23 17:05:22 -07:00
hadoop
libcephfs
libcephfs-java
mon
objectstore qa/workunits/objectstore/test_fuse.sh: fix root check 2016-02-01 15:49:25 -05:00
osdc
rados qa/workunits/rados/test.sh: check subprocess return values 2016-03-22 11:23:48 -07:00
rbd qa/workunits/rbd: qemu tests need to wait for image to be created 2016-04-03 10:29:38 -04:00
rename
rest qa/workunits/rest/test.py: fs flag set enable_multiple true 2016-04-04 09:39:03 -04:00
restart
rgw
suites fsx: checkout old version until it compiles properly on miras 2016-01-14 10:26:43 -08:00
ceph-helpers-root.sh
ceph-helpers.sh tests: Optimizing kill_daemons() sleep time 2016-04-05 09:36:25 +02:00
false.sh
kernel_untar_build.sh
Makefile
post-file.sh
true.sh