[ 
https://issues.apache.org/jira/browse/HDDS-7259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kaijie Chen resolved HDDS-7259.
-------------------------------
    Resolution: Fixed

Thanks [~Nibiruxu] for the fix.

> Fix uncounted blocksDeleted in BlockDeletingService
> ---------------------------------------------------
>
>                 Key: HDDS-7259
>                 URL: https://issues.apache.org/jira/browse/HDDS-7259
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Xu Shao Hong
>            Assignee: Xu Shao Hong
>            Priority: Major
>              Labels: pull-request-available
>
> 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



--
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