]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: fix removing LCEntry 47005/head
authorTongliang Deng <dengtongliang@gmail.com>
Thu, 7 Jul 2022 10:42:53 +0000 (10:42 +0000)
committerTongliang Deng <dengtongliang@gmail.com>
Thu, 7 Jul 2022 11:22:41 +0000 (11:22 +0000)
commitead424591bf9237110c91a06467e9cb3764ba9f5
tree4bcb2a765a4f2f7574ed8ea3b84d84618ab557ff
parent55e46c7e023f2924c93abca495d7620055785b6a
rgwlc: fix removing LCEntry

When `bucket_lc_process` returns `-ENOENT`, the lc entry is removed,
but `set_entry(...)` is called after the removal which will give us
the unwanted lc entry again.

Fixes: c069eb7ff09b52003fa00a5cc83b1e52370032f5.
Signed-off-by: Tongliang Deng <dengtongliang@gmail.com>
src/rgw/rgw_lc.cc