ChenSammi commented on code in PR #9426:
URL: https://github.com/apache/ozone/pull/9426#discussion_r2629744814
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/KeyLifecycleService.java:
##########
@@ -219,12 +221,33 @@ public void resume() {
suspended.set(false);
}
+ /**
+ * Set isServiceEnabled.
+ * @param enabled whether enable the lifecycle Service
+ */
+ public void setServiceEnabled(boolean enabled) {
Review Comment:
Can we reuse the existing suspended variable, and suspend(), resume()
function, instead of this new setServiceEnabled() function, as the current
suspended variable and it involved function is actually not used?
--
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]