chungen0126 opened a new pull request, #9638: URL: https://github.com/apache/ozone/pull/9638
## What changes were proposed in this pull request? This PR introduces a configuration check to disable the Lifecycle feature in Ozone Manager. - When the feature is disabled, all Lifecycle-related RPCs (both Write and Read requests) return an error response with status `FEATURE_NOT_ENABLED`. - Blocked requests include: SetLifecycle, DeleteLifecycle, GetLifecycle, and Set/GetLifecycleServiceStatus. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-12785 ## How was this patch tested? Added `TestOMDisableLifecycle` to verify: - OzoneManagerRatisUtils.createClientRequest throws exception for write requests. - OzoneManagerRequestHandler.handleReadRequest returns failure status for read requests. ci: https://github.com/chungen0126/ozone/actions/runs/21040700639 -- 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]
