HDDS-11509. logging improvements for directory deletion
What changes were proposed in this pull request?
All Ozone components involved in background deletion should follow consistent patterns with their logging: At the end of each run, and INFO log should display how many items were processed, what the current limit of items per run is, and how long it took. After each run, a DEBUG log should indicate each individual item that was processed.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11509
How was this patch tested?
Thanks, @Tejaskriya for the patch. Regarding the master jira, I anticipate significant changes to the deletion code. So, I think we should address the logging improvement JIRA later to make sure the logging can be implemented more effectively.
@ashishkumar50 @aryangupta1998 Could you please review the patch when you get some time?
Thanks for the reviews @aryangupta1998 @sumitagrawl @errose28. I have removed the warn logs due to the comments and addressed the other comments. Could you please take another look?
Thanks for the review @sumitagrawl, I have addressed the comments!