]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: _delete_oid - fix incorrect 'legacy' flag 17773/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 18 Sep 2017 06:44:36 +0000 (14:44 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 18 Sep 2017 08:00:04 +0000 (16:00 +0800)
commite25a583323a225dcfab0567c872247b33bf36f8f
tree3c711ab3c65a7d67a6da8256160ffcc6d61c2ca0
parent4bb174db3a3cc18b544d7282516289075763a1f3
osd/PrimaryLogPG: _delete_oid - fix incorrect 'legacy' flag

For pre-Luminous created objects, we shall default 'legacy' flag
to true, so we can still create a snapdir object properly if necessary
for Luminous backward compatibility.

Note that this patch is not going to land on master first
(and hence can not be cherry-picked from master) because it will
finally be deprecated by https://github.com/ceph/ceph/pull/17579,
in which we are going to kill the snapdir object completely for Mimic.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PrimaryLogPG.cc