xichen01 opened a new pull request, #4939: URL: https://github.com/apache/ozone/pull/4939
## What changes were proposed in this pull request? Currently, one of the conditions for the `SCMBlockDeletingService` to decide whether to send a deletion transaction to a DN is whether the SCM's `CommandQueue` is empty, a better way to determine this is based on whether there is enough space in the DN's queue rather than the SCM's queue. In some cases, even if a DN is able to get a delete transaction from the SCM, the DN will not be able to complete the task fast enough, command will be accumulated in the DN's queue, in which case, using this strategy will better control the load on the DN ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8888 Please replace this section with the link to the Apache JIRA) ## How was this patch tested? unit test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
