]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
src/test: prevent being a normal object during ManifestFlushSnap (unit test)
authormyoungwon oh <ohmyoungwon@gmail.com>
Wed, 10 Feb 2021 06:33:32 +0000 (15:33 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Mon, 29 Mar 2021 08:13:54 +0000 (17:13 +0900)
commitd833b9ec64e8715b7d1496a9f715a1501d8404d2
treea706fa75fbaec3389becf8702f891744f954955d
parented24df159cde01e1ad225633c1ce4815795da6e4
src/test: prevent being a normal object during ManifestFlushSnap (unit test)

Now, modifying object when creating snapshot triggers to remove
the corresponding chunk in chunk_map.
This results in tranforming a manifest object to a normal object
if there are no chunks in chunk_map.
To avoid this, another set_chunk() is added.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/test/librados/tier_cxx.cc