]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
fix 2 null versionID after convert_plain_entry_to_versioned 53399/head
authorRickyMaRui <140392518+RickyMaRui@users.noreply.github.com>
Fri, 28 Jul 2023 03:22:10 +0000 (11:22 +0800)
committerMykola Golub <mgolub@suse.com>
Mon, 11 Sep 2023 16:31:42 +0000 (19:31 +0300)
commit208b837159617af04b93b9202923af36150ae4e6
tree22dcb8d449922993a526e1630234cf68ce2fc672
parentac664c523f6de0e20c23a4decbac722e63035a3c
fix 2 null versionID after convert_plain_entry_to_versioned

After convert plain entry to versioned, the converted entry epoch is 1.
Setting this ensures that there is only one null version.

Fixes: https://tracker.ceph.com/issues/62013
Signed-off-by: rui ma <marui1@chinatelecom.cn>
Signed-off-by: zhuo li <lizhuo@chinatelecom.cn>
(cherry picked from commit 14cfbfd60c45cc0f04f7a83057cb460731f3cc70)
src/cls/rgw/cls_rgw.cc