Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for AllVersionsExpiration ilm rule #2014

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

dhananjaykrutika
Copy link
Contributor

This is a minio-only rule for removing all versions of an object upon expiration. The rule takes two parameters: Days and DeleteMarker.
"Days" indicates the number of days after which the object and all its versions must be expired.
The optional "DeleteMarker" flag indicates that the expiration be applied if the latest version of this object is a delete marker.

These specific changes in minio-go are for consumption by ec in a different PR.

This is a minio-only rule for removing all versions of an
object upon expiration. The rule takes two parameters:
Days and DeleteMarker.
"Days" indicates the number of days after which the object and
all its versions must be expired.
The optional "DeleteMarker" flag indicates that the expiration
be applied if the latest version of this object is a delete marker.

These specific changes in minio-go are for consumption by mc in a
different PR.
Copy link
Contributor

@klauspost klauspost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor things

pkg/lifecycle/lifecycle.go Outdated Show resolved Hide resolved
pkg/lifecycle/lifecycle.go Outdated Show resolved Hide resolved
pkg/lifecycle/lifecycle.go Outdated Show resolved Hide resolved
pkg/lifecycle/lifecycle.go Show resolved Hide resolved
pkg/lifecycle/lifecycle.go Outdated Show resolved Hide resolved
Copy link
Contributor

@klauspost klauspost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harshavardhana harshavardhana merged commit 22d521d into master Oct 28, 2024
5 checks passed
@harshavardhana harshavardhana deleted the introducing-allversions-expiration branch October 28, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants