]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: implement NewerNoncurrentVersions
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 23 Oct 2023 18:57:33 +0000 (14:57 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 15 Mar 2024 13:37:15 +0000 (09:37 -0400)
commitf9f18bd2721a4b4d0090f9aa51d994c376a56794
treec79bbfd91d590fc91fc249cb16e7a7b4807b455d
parentc36e0658daab316e96b366e0b20c259d9ffcdde7
rgwlc: implement NewerNoncurrentVersions

Per AWS doc, this value controls "how many noncurrent versions
Amazon S3 will retain." [1]  We understand this to mean, retain
NewerNoncurrentVersions of any object, regardless of expiration.

Removed unused RGWLifecycleConfiguration::has_same_action() (cleanup)

[1] https://docs.aws.amazon.com/AmazonS3/latest/API/API_NoncurrentVersionExpiration.html.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit a4313e77a31c5165254068b53dfac3d277b0a6a8)
src/rgw/rgw_lc.cc
src/rgw/rgw_lc.h
src/rgw/rgw_lc_s3.cc
src/test/rgw/test_rgw_lc.cc