Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If the block info is null, then blocksDeleted is not increased and the numPendingDeletionBlocks then will not be decreased.
During ```chooseContainerForBlockDeletion```, all containers with such inexistent blocks will still be chosen, and normal block deletion will be blocked.
TODO:
Besides this, if deletion of certain block retries exceeds a certain number of times, the service should skip deleting it, otherwise invalid numPendingDeletionBlocks could accumulate beyond the limit and the following deletion will also stop. We should add this as a protection mechianism
Attachments
Issue Links
- is related to
-
HDDS-7156 Clean container's inconsistent pendingDeletingBlockCount
- Resolved
- links to