[
https://issues.apache.org/jira/browse/HDDS-6234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
George Huang updated HDDS-6234:
-------------------------------
Target Version/s: (was: 1.3.0)
> Repair containers affected by incorrect used bytes and block count
> ------------------------------------------------------------------
>
> Key: HDDS-6234
> URL: https://issues.apache.org/jira/browse/HDDS-6234
> Project: Apache Ozone
> Issue Type: New Feature
> Components: Ozone Datanode, SCM
> Affects Versions: 1.2.0
> Reporter: Ethan Rose
> Assignee: Ethan Rose
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.3.0
>
>
> HDDS-5359 shows that the bytes used and block count metadata of a container
> is tracked incorrectly. Empty containers with negative values in these fields
> will not be deleted per HDDS-4023 and will remain tracked by SCM
> unnecessarily.
> This Jira aims to add a config flag that when enabled will repair the
> metadata information in the datanodes on restart. Datanodes already iterate
> all their containers on startup, but the process is kept light to not slow
> down startup too much. Repairing these values will slow down datanode
> startup, since it requires writing to RocksDB (currently opened in readonly
> mode on startup) and iterating the block keys stored there. For this reason
> the plan is to put this behind a config flag.
> I have set the affected versions to 1.2.0 since it is after this release that
> HDDS-5359 was reported, but it is possible earlier releases are affected.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]