]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
src/test: allow ENOENT if target object of tier_flush has snapshots
authormyoungwon oh <ohmyoungwon@gmail.com>
Mon, 23 Dec 2024 15:01:11 +0000 (15:01 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 23 Dec 2024 15:09:26 +0000 (15:09 +0000)
commit9e04f49a2fa5cdb08b3fb0c962c9cce3ddc52915
treedf86675ce51e2d928afa9a93d7b9212b52715668
parent69c919838b4774559e407d3ce6a08d668c9b6f51
src/test: allow ENOENT if target object of tier_flush has snapshots

Tier_flush can return ENOENT if the recovery procedure for
adjacent clones are in progress. Allowing ENOENT might not
cover some cases, but this has some advantages:
1) tier_flush is a write operation that rarely returns ENOENT
2) other operations in combination test can cover ENOENT case,
minimizing OSD changes.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/test/osd/RadosModel.h