]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: faithfully store lifecycle filters 69117/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 27 May 2026 04:14:17 +0000 (00:14 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 4 Jun 2026 14:31:34 +0000 (10:31 -0400)
commit47c6618d8138928abf5ce337d0f0fb3b91de02ef
tree8bea01b2c165239934d5965386bf2a000928df2d
parent32435add6799aa62a52370530aae84b8a4a2c8c6
rgwlc:  faithfully store lifecycle filters

Fix the bug where an empty lifecycle filter was stored
identically to one with an empty old-format prefix rule--
which caused the recovered rules to be formed incorrectly
as prefix rules.

Found by Kyle Bader and Tekton workflow.  Updated to not declare
virtual methods in LCFilter.

Fixes: https://tracker.ceph.com/issues/76806
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_lc.h
src/rgw/rgw_lc_s3.cc