xichen01 opened a new pull request, #9426:
URL: https://github.com/apache/ozone/pull/9426
## What changes were proposed in this pull request?
This PR makes the KeyLifecycleService suspendable at runtime without
requiring an OM restart.
- Make `ozone.lifecycle.service.enabled` reconfigurable, the
KeyLifecycleService can be stopped by reconfiguring this configuration.
- Add KeyLifecycleService status query command
Example:
```bash
$ ozone admin om lifecycle status --service-id <omServiceId>
========================================
Lifecycle Service Status
========================================
IsEnabled: true
IsRunning: true
Running Buckets:
- /vol1/bucket1
========================================
```
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-12791
## How was this patch tested?
unit test.
--
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]