[
https://issues.apache.org/jira/browse/HDDS-7302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-7302:
---------------------------------
Labels: pull-request-available (was: )
> Fix inaccurate container block count caused by missing block
> ------------------------------------------------------------
>
> Key: HDDS-7302
> URL: https://issues.apache.org/jira/browse/HDDS-7302
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Xu Shao Hong
> Assignee: Xu Shao Hong
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2022-10-09-19-48-10-353.png
>
>
> After the patch of HDDS-7259, the number of empty containers is accumulating
> and they are not deleted. The reason is due to the incorrect block count.
> The block count is increased each time of puttingBlock, so it should not
> decrease the missing block number.
> While the pending deletion block number is increased by counting the blocks
> in the TXN(missing blocks included), so missing block number should be
> reduced.
> !image-2022-10-09-19-48-10-353.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]