priyeshkaratha opened a new pull request, #10982: URL: https://github.com/apache/ozone/pull/10982
## What changes were proposed in this pull request? Ozone's `MultipartUploadCleanupService` periodically reaps multipart uploads that have been active longer than `ozone.om.open.mpu.expire.threshold` (default: 30 days). When a bucket lifecycle rule sets an `AbortIncompleteMultipartUpload` action with a `daysAfterInitiation` value **greater than or equal to** that threshold, the cleanup service will abort the upload first, silently making the lifecycle rule ineffective. The operator receives no feedback that the configured rule can never fire. This patch adds eager validation in `OMLifecycleConfigurationSetRequest.preExecute` that rejects any `AbortIncompleteMultipartUpload` lifecycle rule whose `daysAfterInitiation >= ozone.om.open.mpu.expire.threshold` (converted to days) with an `INVALID_REQUEST` error. ## What is the link to the Apache JIRA HDDS-16088 ## How was this patch tested? Tested via integration tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
