aryangupta1998 commented on code in PR #7314:
URL: https://github.com/apache/ozone/pull/7314#discussion_r1843375444
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/DirectoryDeletingService.java:
##########
@@ -154,11 +154,11 @@ public int getPriority() {
@Override
public BackgroundTaskResult call() {
if (shouldRun()) {
+ isRunningOnAOS.set(true);
+ final long run = getRunCount().incrementAndGet();
if (LOG.isDebugEnabled()) {
- LOG.debug("Running DirectoryDeletingService");
+ LOG.debug("Running DirectoryDeletingService {}", run);
Review Comment:
We already log the run count in optimizeDirDeletesAndSubmitRequest() present
inAbstractKeyDeletingService.java, do we need it here as well?
--
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]