Uh oh!
There was an error while loading. Please reload this page.
HDDS-12495. Add metadata flag to check block existence in ozone debug verify replicas - #8079
HDDS-12495. Add metadata flag to check block existence in ozone debug verify replicas#8079sarvekshayr wants to merge 8 commits into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
sadanand48
commented
Mar 14, 2025
This is exactly what |
sarvekshayr
commented
Mar 14, 2025
Both the commands do have similar functionality. |
errose28
commented
Mar 21, 2025
Thanks for looking at this @sadanand48 Although the two tools use the same backend API, they don't do the same thing.
|
errose28
left a comment
There was a problem hiding this comment.
Thanks for adding this @sarvekshayr. Can we add an integration test for the failure cases, and an acceptance test for the CLI in the regular cases?
errose28
left a comment
There was a problem hiding this comment.
Thanks for adding this! Just some minor comments.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
errose28
commented
Apr 8, 2025
I think this has been rolled into #8248. @sarvekshayr should we close this and the corresponding Jira and continue work there? |
sarvekshayr
commented
Apr 9, 2025
Yes, we can close this PR. |
What changes were proposed in this pull request?
Introduced a
--metadataflag underozone debug replicas verifycommand to check for block existence usingGetBlockcalls to the datanodes. For each key, it iterates through all replicas and verifies block presence.What is the link to the Apache JIRA
HDDS-12495
How was this patch tested?
Tested the patch on a docker cluster.
"status": "BLOCK_EXISTS"."status": "MISSING_REPLICAS"."status": "ERROR"along with the error message.