Ashish Kumar created HDDS-15080:
-----------------------------------

             Summary: DirectoryDeletingService is using single thread
                 Key: HDDS-15080
                 URL: https://issues.apache.org/jira/browse/HDDS-15080
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Ashish Kumar


 

Because of [unbounded 
queue|https://github.com/apache/ozone/blob/31c18dff19c0e852a5d1649bfd8feff393e6eaaf/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/DirectoryDeletingService.java#L255],
 queue never gets filled and due to this only one thread is working for all the 
tasks.
{code:java}
## Iteration 9
2026-04-21 20:17:31,097 [pool-35-thread-2] INFO 
service.DirectoryDeletingService: Number of dirs deleted: 1, Number of sub-dir 
deleted: 0, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs 
moved 5 to DeletedDirectoryTable, iteration elapsed: 66ms,  totalRunCount: 9
...
2026-04-21 20:17:31,114 [pool-35-thread-2] INFO 
service.DirectoryDeletingService: Number of dirs deleted: 1, Number of sub-dir 
deleted: 0, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs 
moved 5 to DeletedDirectoryTable, iteration elapsed: 2ms,  totalRunCount: 9
# 10 tasks scheduled on the same thread sequentially

## Iteration 10
2026-04-21 20:18:01,036 [pool-35-thread-2] INFO 
service.DirectoryDeletingService: Number of dirs deleted: 1, Number of sub-dir 
deleted: 0, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs 
moved 5 to DeletedDirectoryTable, iteration elapsed: 2ms,  totalRunCount: 10
...
2026-04-21 20:18:01,051 [pool-35-thread-2] INFO 
service.DirectoryDeletingService: Number of dirs deleted: 1, Number of sub-dir 
deleted: 0, Number of sub-files moved: 0 to DeletedTable, Number of sub-dirs 
moved 5 to DeletedDirectoryTable, iteration elapsed: 2ms,  totalRunCount: 10
# 10 tasks scheduled on the same thread sequentially {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