[
https://issues.apache.org/jira/browse/HDDS-15454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sreeja updated HDDS-15454:
--------------------------
Description:
Develop a CLI-based diagnostic tool under the Ozone debug framework to analyze
container consistency between container directories stored on a DataNode and
container metadata maintained by SCM.
The tool will detect and report:
* Containers that exist on disk but are not present in SCM metadata (Orphan
Containers wrt SCM).
* Containers whose lifecycle state is DELETED in SCM but whose container
directories are still present under the DataNode current container hierarchy
(Deleted-but-Present Containers).
* Multiple container directories corresponding to the same container ID across
different storage volumes on the same DataNode (Duplicate Container
Directories).
The tool will scan all configured DataNode storage volumes, collect information
about discovered container directories, validate and correlate the results with
SCM container records obtained from scm.db.
The tool should provide a standardized and reusable mechanism for detecting and
reporting inconsistencies.
was:
Develop a CLI-based diagnostic tool under the Ozone debug framework to analyze
container consistency between on-disk container directories on a DataNode and
SCM metadata. The tool will identify:
* Containers present on disk but not tracked in SCM (Orphan Containers wrt
SCM).
* Containers marked as *DELETED* in SCM but still present on disk(under
/current) (Deleted-but-Present Containers).
* Duplicate container directories for the same container ID across multiple
storage volumes on the same DataNode.
The tool should provide a standardized, reusable mechanism for detecting and
reporting inconsistencies.
> Tool to Identify Orphan(wrt scm), Duplicate and Deleted-but-Present
> Containers in Ozone
> ---------------------------------------------------------------------------------------
>
> Key: HDDS-15454
> URL: https://issues.apache.org/jira/browse/HDDS-15454
> Project: Apache Ozone
> Issue Type: Epic
> Reporter: Sreeja
> Assignee: Sreeja
> Priority: Major
>
> Develop a CLI-based diagnostic tool under the Ozone debug framework to
> analyze container consistency between container directories stored on a
> DataNode and container metadata maintained by SCM.
> The tool will detect and report:
> * Containers that exist on disk but are not present in SCM metadata (Orphan
> Containers wrt SCM).
> * Containers whose lifecycle state is DELETED in SCM but whose container
> directories are still present under the DataNode current container hierarchy
> (Deleted-but-Present Containers).
> * Multiple container directories corresponding to the same container ID
> across different storage volumes on the same DataNode (Duplicate Container
> Directories).
> The tool will scan all configured DataNode storage volumes, collect
> information about discovered container directories, validate and correlate
> the results with SCM container records obtained from scm.db.
> The tool should provide a standardized and reusable mechanism for detecting
> and reporting inconsistencies.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]