HDDS-6287. BlockDeletingService add inDeleting Container condition#3058
HDDS-6287. BlockDeletingService add inDeleting Container condition#3058guohao-rosicky wants to merge 3 commits intoapache:masterfrom
Conversation
|
Thanks for working on this @guohao-rosicky. My understanding is that the current background service implementation could allow more container delete tasks to be kicked off for an overlapping container set before the current ones have finished (if the current ones take a very long time), and that is why code was added to track containers currently under deletion. To me it would seem more intuitive to have BackgroundService block until its current set of tasks have finished or timed out before adding new ones, since I don't think any of Ozone's background services can effectively handle overlapping executions. However, this behavior was explicitly changed in HDDS-4231, so maybe @lokeshj1703 can provide some insight as to why the background service was changed in this way. The current |
|
@guohao-rosicky Thanks for working on this! Can you please provide more info on the problem and how inDeleting containers are involved? |
|
/pending please provide more info on the problem |
|
Thank you very much for the patch. I am closing this PR temporarily as there was no activity recently and it is waiting for response from its author. It doesn't mean that this PR is not important or ignored: feel free to reopen the PR at any time. It only means that attention of committers is not required. We prefer to keep the review queue clean. This ensures PRs in need of review are more visible, which results in faster feedback for all PRs. If you need ANY help to finish this PR, please contact the community on the mailing list or the slack channel." |
What changes were proposed in this pull request?
BlockDeletingService add inDeleting Container condition
The container that is being deleted does not participate in container selection, preventing worker threads from holding locks for a long time
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6287