[
https://issues.apache.org/jira/browse/HDDS-17943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arafat Khan reassigned HDDS-17943:
----------------------------------
Assignee: Arafat Khan
> Recon marks a live container DELETED from a stale SCM DELETED page
> -------------------------------------------------------------------
>
> Key: HDDS-17943
> URL: https://issues.apache.org/jira/browse/HDDS-17943
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Recon
> Reporter: Arafat Khan
> Assignee: Arafat Khan
> Priority: Major
>
> {{ReconStorageContainerSyncHelper.processDeletedPage}} reads a page of
> container IDs from {{{}getListOfContainerIDs(DELETED){}}}. It then moves
> every container Recon holds in a non-DELETED state to DELETED through
> {{{}retireContainerToDeleted{}}}, without checking that SCM still has it
> DELETED. The page can go stale while Recon is processing it:
> # Recon reads a page of containers that SCM has marked DELETED.
> # A datanode reports a copy that still has data, and SCM moves the container
> back to CLOSED or QUASI_CLOSED ({{{}AbstractContainerReportHandler{}}} →
> {{{}transitionDeletingOrDeletedToTargetState{}}}).
> # Recon finishes the old page and marks the container DELETED anyway.
> The next sync moves it back to SCM's state (HDDS-17061 keeps its replicas
> during that move). Until then:
> * Recon reports a live container as DELETED.
> * The container health check skips it, because {{DeletingContainerHandler}}
> stops the check for DELETED containers. The next check also removes any
> unhealthy rows the container already had. If the container is really missing
> or under-replicated, Recon hides that until the next sync.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]