Uh oh!
There was an error while loading. Please reload this page.
HDDS-9802. Tool to fix corrupted snapshot chain - #6386
Conversation
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @hemantk-12 for the patch. Found some typos, and suggested some minor improvements.
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.
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.
aswinshakil
left a comment
There was a problem hiding this comment.
Thanks for this tool @hemantk-12. Really helpful in fixing snapshot chain corruption. LGTM+1
hemantk-12
commented
Mar 19, 2024
Thanks, @adoroszlai and @aswinshakil for the review. |
(cherry picked from commit e907316)
(cherry picked from commit e907316)
(cherry picked from commit e907316)
) (cherry picked from commit e907316) Change-Id: I67950ede21d47449ce433b629e1a8f24a1d88a19
What changes were proposed in this pull request?
In the past, we have seen many instances (HDDS-8530, HDDS-8832, and recently HDDS-10524) when SnapshotChain corruption was causing OM to get stuck on restart. Lots of bugs related to snapshot chain corruption have been fixed but we still issue some occurrences here and there (HDDS-10524 is a very recent one).
This change is to implement a tool that can be used to repair the snapshot chain corruption once a corrupted entry is identified.
The idea for this tool is from HDDS-8100. This change also provides a base setup for HDDS-8100 and can be extended to provide support for other cases HDDS-8101, HDDS-8824, HDDS-10295, etc.
What is the link to the Apache JIRA
HDDS-9802
How was this patch tested?
Tested it on the docker.