[ 
https://issues.apache.org/jira/browse/HDDS-7541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ritesh Shukla updated HDDS-7541:
--------------------------------
    Fix Version/s: 1.4.0

> FSO recursive delete directory with hierarchy takes much time for cleanup
> -------------------------------------------------------------------------
>
>                 Key: HDDS-7541
>                 URL: https://issues.apache.org/jira/browse/HDDS-7541
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: OM
>            Reporter: Sumit Agrawal
>            Assignee: Sumit Agrawal
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>
> 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):
> {code:java}
> 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 {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to