Skip to content

Conversation

@chungen0126
Copy link
Contributor

@chungen0126 chungen0126 commented Jan 15, 2026

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/21053143860

@chungen0126 chungen0126 marked this pull request as ready for review January 16, 2026 04:51
@ivandika3 ivandika3 added the s3-lifecycle HDDS-8342 label Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

s3-lifecycle HDDS-8342

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants