You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sarveksha Yeshavantha Raju (Jira)" <ji...@apache.org> on 2025/10/22 09:49:00 UTC

[jira] [Created] (HDDS-13825) Handle invalid OM DB path and rename FSO repair report fields for clarity

Sarveksha Yeshavantha Raju created HDDS-13825:
-------------------------------------------------

             Summary: Handle invalid OM DB path and rename FSO repair report fields for clarity
                 Key: HDDS-13825
                 URL: https://issues.apache.org/jira/browse/HDDS-13825
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Sarveksha Yeshavantha Raju


If the OM DB provided to the {{ozone repair om fso-tree --db=/path/to/om.db}} command is not named {{om.db}}, the report values are returned as null. Update the description or better add validation to ensure the DB name is correctly specified.

Example:
{code:java}
ozone repair om fso-tree --db=../om-db-backup --dry-run
[dry run] No running OM service detected. Proceeding with repair.
[dry run] Creating database with reachable and unreachable tables at ../temp.db
[dry run] 
Reachable:
	Directories: 0
	Files: 0
	Bytes: 0
Unreachable (Pending to delete):
	Directories: 0
	Files: 0
	Bytes: 0
Unreferenced (Orphaned):
	Directories: 0
	Files: 0
	Bytes: 0
{code}

Additionally, rename all method and report references of *unreachable* to *pendingToDelete* and *unreferenced* to *orphaned* to improve clarity and consistency.



--
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