hello, guys, I found data lost when flattening a cloned image on giant(0.87.2). The problem can be easily reproduced by runing the following script: where writetooffset.py is a simple python script writing specific data to the specific offset of the image: The output is something like: We can easily fount that the first object of the image is definitely lost, and I found the data loss is happened when flattening, there is only a "head" version of the first object, actually a "snapid" version of the object should also be created and writed when flattening. But when running this scripts on upstream code, I cannot hit this problem. I look through the upstream code but could not find which commit fixes this bug. I also found the whole state machine dealing with RBD layering changed a lot since giant release. Could you please give me some hints on which commits should I backport? Thanks~~~~ |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com