Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
When level of hierarchy is high, it takes (nrOfLevel*1Minute) time which is quiet high for cleanup.
This can be done quickly within number of files range configuration within iteration.
cleanup log of directory (each iteration with 1 minute):
2022-11-15 20:05:13,854 INFO service.DirectoryDeletingService (DirectoryDeletingService.java:call(217)) - Number of dirs deleted: 1, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs moved 1 to DeletedDirectoryTable, iteration elapsed: 14ms, totalRunCount: 9 2022-11-15 20:06:13,856 INFO service.DirectoryDeletingService (DirectoryDeletingService.java:call(217)) - Number of dirs deleted: 1, Number of sub-files moved: 1 to DeletedTable, Number of sub-dirs moved 1 to DeletedDirectoryTable, iteration elapsed: 12ms, totalRunCount: 10 2022-11-15 20:07:13,959 INFO service.DirectoryDeletingService (DirectoryDeletingService.java:call(217)) - Number of dirs deleted: 1, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs moved 1 to DeletedDirectoryTable, iteration elapsed: 17ms, totalRunCount: 11 2022-11-15 20:08:13,972 INFO service.DirectoryDeletingService (DirectoryDeletingService.java:call(217)) - Number of dirs deleted: 1, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs moved 0 to DeletedDirectoryTable, iteration elapsed: 26ms, totalRunCount: 12