You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return ok even if the lifecycle rule is not actually used.
Steps to Reproduce (for bugs)
Just create the rule and send the request.
Context
I use Minio for local/CI testing and then AWS S3 in production. It would be great if I can avoid different code paths for the different environments.
Regression
No
Your Environment
Version used (minio --version):
minio/minio:RELEASE.2022-10-29T06-21-33Z
Server setup and configuration:
Docker container as above.
Operating System and version (uname -a):
Linux gho-debian 4.19.0-6-amd64 Full restructure in accordance with #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
NOTE
If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.
When I send in a request like this:
I get the response:
Expected Behavior
According to the example in https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-configuration-examples.html#lc-expire-mpu this should work and the rule be created.
Even if there seems to be an automatic rule created that purge after 3 days, reference #10255 (comment)
Current Behavior
Error as shown above.
Possible Solution
Return ok even if the lifecycle rule is not actually used.
Steps to Reproduce (for bugs)
Just create the rule and send the request.
Context
I use Minio for local/CI testing and then AWS S3 in production. It would be great if I can avoid different code paths for the different environments.
Regression
No
Your Environment
Version used (
minio --version
):minio/minio:RELEASE.2022-10-29T06-21-33Z
Server setup and configuration:
Docker container as above.
Operating System and version (
uname -a
):Linux gho-debian 4.19.0-6-amd64 Full restructure in accordance with #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: