[
https://issues.apache.org/jira/browse/HDDS-17996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arafat Khan reassigned HDDS-17996:
----------------------------------
Assignee: Arafat Khan
> Recon never deletes UNHEALTHY_CONTAINERS rows of containers that are no
> longer in Recon
> ---------------------------------------------------------------------------------------
>
> Key: HDDS-17996
> URL: https://issues.apache.org/jira/browse/HDDS-17996
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Recon
> Reporter: Arafat Khan
> Assignee: Arafat Khan
> Priority: Major
>
> Recon only deletes and rewrites {{UNHEALTHY_CONTAINERS}} rows for container
> IDs it still has ({{{}ReconReplicationManager.persistUnhealthyRecords{}}}).
> If a container leaves Recon, for example when Recon replaces its SCM DB with
> an SCM snapshot, its row stays forever.
> After HDDS-17944 the unhealthy containers API skips such rows instead of
> failing with HTTP 500, but they are still counted in the summary. The UI can
> show MISSING=2 while the list has 1.
> Proposed: delete rows whose container is not in Recon, either in the
> container health task or when Recon replaces its SCM DB from a snapshot. Also
> link it to HDDS-17944 and HDDS-17061.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]