Lokesh Jain created HDDS-4504:
---------------------------------

             Summary: Datanode deletion config should be based on number of 
blocks
                 Key: HDDS-4504
                 URL: https://issues.apache.org/jira/browse/HDDS-4504
             Project: Hadoop Distributed Data Store
          Issue Type: Sub-task
          Components: Ozone Datanode
            Reporter: Lokesh Jain


Currently datanode's deletion config is based on number of containers on which 
deletion should be performed(default value 10). The deletion is only performed 
on those containers. 

It should rather be based on number of blocks to delete per interval rather 
than number of containers to process. If a datanode has 100000 containers and 
every container has 10 blocks to delete then deletion of all these blocks can 
take a lot of time with the current configuration. It would take 100000/10 = 
10000 intervals for deletion to complete.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to