-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
wal: add Verify function to perform corruption check on wal contents #10603
wal: add Verify function to perform corruption check on wal contents #10603
Conversation
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
1ee0b2a
to
d9f5408
Compare
@gyuho Any idea what the error |
@hexfusion Can you help cherry-pick this? |
Ack
|
@hexfusion Could you please take a look? Thanks |
I will get to this today. |
looking now thanks for your patience |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, passed unit, integration_e2e and functional tests locally
@shreyas-s-rao can you rerun tests we have fixed them in the branch.
|
will merge on greens |
Signed-off-by: Shreyas Rao <shreyas.sriganesh.rao@sap.com>
d9f5408
to
6f8aa33
Compare
@hexfusion Tests have passed successfully. Semaphore build on amd64 seems to have failed from |
TestCtlV3AuthFromKeyPerm Is a flake Semaphore passed on previous run. Merging. |
@hexfusion Thanks for helping with the PR merge! |
cc @wenjiaswe |
@gyuho Do we have a timeline for the |
/ping @gyuho |
@gyuho any update on v3.3.13 patch release? Thanks! |
@gyuho Thank you ! |
Signed-off-by: Shreyas Rao shreyas.sriganesh.rao@sap.com
To allow verification of the WAL contents with minimal memory footprint. Added a
Verify
function to thewal
package that performs a corruption check on the WAL contents and reports any errors. This serves to be a streamlined version of theReadAll
method on theWAL
struct, as it allows for a quick validation of the WAL contents before starting etcd from an existing data directory without the overhead of returning the entire WAL data in-memory to the caller. Also refactored theopenAtIndex
function to allow theVerify
function to reuse code for creating decoder.Fixes #10497
This is a cherry-pick of two commits on master:
3d6862f
bb3eb8f