]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: don't incorrectly expire delete markers when !next_key_name 47231/head
authorMatt Benjamin <mbenjamin@redhat.com>
Sun, 3 Apr 2022 20:36:22 +0000 (16:36 -0400)
committerCory Snyder <csnyder@iland.com>
Fri, 22 Jul 2022 08:07:47 +0000 (04:07 -0400)
commit77f7a5291fc5d749f52b14b1009caf201529aedb
tree27b45425688e8c277ffec7da329d5158c47e2143
parentc1e9a288b84fe43101b2ee3898d2a85405526623
rgwlc:  don't incorrectly expire delete markers when !next_key_name

This is a fencepost case when operating on the last element of a
listing, apparently masked before Mark Kogan's segfault fix).

Fixes: https://tracker.ceph.com/issues/55168
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 9cfc37807971b491176c1e8060e04d253071341e)
src/rgw/rgw_lc.cc