swamirishi commented on code in PR #7193:
URL: https://github.com/apache/ozone/pull/7193#discussion_r1767777966
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java:
##########
@@ -312,7 +316,7 @@ public void start(OzoneConfiguration configuration) {
}
}
- if (snapshotDirectoryCleaningService == null &&
+ if (isSnapshotDeepCleaningEnabled && snapshotDirectoryCleaningService ==
null &&
Review Comment:
It has to be && . Configuration to isSnapshotDeepCleaningEnabled should be
enabled & also snapshotDirectoryCleaningService should not have been
initialized before.
--
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]