Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-11728. Refactor subcommand layouts of ozone debug and repair #7489

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sarvekshayr
Copy link
Contributor

What changes were proposed in this pull request?

Refactored the layout of ozone debug and ozone repair subcommands to improve organisation and usability. The new structure groups related commands logically, making it easier to find existing tools and add new ones.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-11728

How was this patch tested?

Verified the structure and tested the patch manually.

@sarvekshayr
Copy link
Contributor Author

Please review this patch - @errose28

@errose28
Copy link
Contributor

Thanks for working on this @sarvekshayr. Can you share the new layout of the commands in plain text format? This will be easier for others to review before checking the code directly.

@errose28 errose28 self-requested a review November 26, 2024 15:29
@sarvekshayr
Copy link
Contributor Author

New layout

debug
│
├── OzoneDebug
│
├── chunk
│   ├── ChunkDataNodeDetails
│   ├── ChunkDetails
│   ├── ChunkKeyHandler
│   ├── ChunkType
│   └── ContainerChunkInfo
│
├── container
│   ├── ContainerCommands
│   ├── ExportSubcommand
│   ├── InfoSubcommand
│   ├── InspectSubcommand
│   └── ListSubcommand
│
├── ldb
│   ├── DBScanner
│   ├── DropTable
│   ├── ListTables
│   ├── RDBParser
│   └── ValueSchema
│
├── segmentparser
│   ├── GenericRatisLogParser
│   ├── OMRatisLogParser
│   ├── BaseLogParser
│   ├── DatanodeRatisLogParser
│   ├── RatisLogParser
│   └── SCMRatisLogParser
│
├── CompactionLogDagPrinter
├── FindMissingPadding
├── LeaseRecoverer
├── PrefixParser
├── ReadReplicas
└── VersionDebug
repair
│
├── OzoneRepair
│
├── ldb
│   ├── RDBRepair
│   ├── SnapshotRepair
│   └── TransactionInfoRepair
│
├── om
│
├── quota
│   ├── QuotaRepair
│   ├── QuotaStatus
│   └── QuotaTrigger
│
└── RecoverSCMCertificate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants