You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Kaijie Chen (Jira)" <ji...@apache.org> on 2022/10/08 12:12:00 UTC
[jira] [Resolved] (HDDS-7259) Fix uncounted blocksDeleted in BlockDeletingService
[ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org