Harshavardhana
caad314faa
add ruleguard support, fix all the reported issues ( #10335 )
4 years ago
findmyname666
f9648d3976
add tests lifecycle rules with empty prefix ( #10093 )
4 years ago
findmyname666
aa6468932b
make sure lifecycle rule ID is present ( #10084 )
4 years ago
Anis Elleuch
4a447a439a
Fix lifecycle rules not applied in some cases ( #10072 )
...
HasActiveRules was not behaving as expected, this commit fixes it
and adds more unit tests.
4 years ago
findmyname666
48aebf2d9d
allow lifecycle rules with overlapping prefixes ( #10053 )
4 years ago
Harshavardhana
4915433bd2
Support bucket versioning ( #9377 )
...
- Implement a new xl.json 2.0.0 format to support,
this moves the entire marshaling logic to POSIX
layer, top layer always consumes a common FileInfo
construct which simplifies the metadata reads.
- Implement list object versions
- Migrate to siphash from crchash for new deployments
for object placements.
Fixes #2111
5 years ago
Anis Elleuch
e906b511e9
lifecycle: Consider multiple tags filtering ( #9775 )
...
* lifecycle: Consider multiple tags filtering
* lifecycle: Disallow duplicated Key/Value xml in <Tag>
5 years ago
Anis Elleuch
231c5cf6de
lifecycle: Iterate over all rules until actionable expiry is found ( #9725 )
5 years ago
Anis Elleuch
cdf4815a6b
Add x-amz-expiration header in some S3 responses ( #9667 )
...
x-amz-expiration is described in the S3 specification as a header which
indicates if the object in question will expire any time in the future.
5 years ago
Anis Elleuch
96009975d6
relax validation when loading lifecycle document from the backend ( #9612 )
5 years ago
Harshavardhana
23a8411732
Add a generic Walk()'er to list a bucket, optinally prefix ( #9026 )
...
This generic Walk() is used by likes of Lifecyle, or
KMS to rotate keys or any other functionality which
relies on this functionality.
5 years ago
Nitish Tiwari
e5951e30d0
Add support for Object Tagging in LifeCycle configuration ( #8880 )
...
Fixes #8870
Co-Authored-By: Krishnan Parthasarathi <krisis@users.noreply.github.com>
5 years ago
Harshavardhana
0cbebf0f57
Rename pkg/{tagging,lifecycle} to pkg/bucket sub-directory ( #8892 )
...
Rename to allow for more such features to come in a more
proper hierarchical manner.
5 years ago
Anis Elleuch
1ce8d2c476
Add bucket lifecycle expiry feature ( #7834 )
5 years ago
Krishnan Parthasarathi
559a59220e
Add initial support for bucket lifecycle ( #7563 )
...
This PR is based off @sinhaashish's PR for object lifecycle
management, which includes support only for,
- Expiration of object
- Filter using object prefix (_not_ object tags)
N B the code for actual expiration of objects will be included in a
subsequent PR.
5 years ago