minio/internal/bucket/lifecycle
Krishnan Parthasarathi 44a9339c0a
Newer noncurrent versions (#13815)
- Rename MaxNoncurrentVersions tag to NewerNoncurrentVersions

Note: We apply overlapping NewerNoncurrentVersions rules such that 
we honor the highest among applicable limits. e.g if 2 overlapping rules 
are configured with 2 and 3 noncurrent versions to be retained, we 
will retain 3.

- Expire newer noncurrent versions after noncurrent days
- MinIO extension: allow noncurrent days to be zero, allowing expiry 
  of noncurrent version as soon as more than configured 
  NewerNoncurrentVersions are present.
- Allow NewerNoncurrentVersions rules on object-locked buckets
- No x-amz-expiration when NewerNoncurrentVersions configured
- ComputeAction should skip rules with NewerNoncurrentVersions > 0
- Add unit tests for lifecycle.ComputeAction
- Support lifecycle rules with MaxNoncurrentVersions
- Extend ExpectedExpiryTime to work with zero days
- Fix all-time comparisons to be relative to UTC
2021-12-14 09:41:44 -08:00
..
action_string.go Add basic scanner metrics (#13317) 2021-10-02 09:31:05 -07:00
and.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
error.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
expiration.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
expiration_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
filter.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
filter_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
lifecycle.go Newer noncurrent versions (#13815) 2021-12-14 09:41:44 -08:00
lifecycle_test.go Newer noncurrent versions (#13815) 2021-12-14 09:41:44 -08:00
noncurrentversion.go Newer noncurrent versions (#13815) 2021-12-14 09:41:44 -08:00
noncurrentversion_test.go Newer noncurrent versions (#13815) 2021-12-14 09:41:44 -08:00
prefix.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
rule.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
rule_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
tag.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
transition.go Add immediate inline tiering support (#13298) 2021-10-01 11:58:17 -07:00
transition_test.go Add immediate inline tiering support (#13298) 2021-10-01 11:58:17 -07:00