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/10 08:10:00 UTC
[jira] [Resolved] (HDDS-7302) Fix inaccurate container block count caused by missing block
[ https://issues.apache.org/jira/browse/HDDS-7302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kaijie Chen resolved HDDS-7302.
-------------------------------
Resolution: Fixed
Thanks [~Nibiruxu] for the fix.
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org