Skip to content

[3.5] etcdserver: process the scenaro of the last WAL record being partially synced to disk#15069

Merged
ahrtr merged 1 commit intoetcd-io:release-3.5from
ahrtr:last_wal_rec_corrupt_3.5_20230108
Jan 11, 2023
Merged

[3.5] etcdserver: process the scenaro of the last WAL record being partially synced to disk#15069
ahrtr merged 1 commit intoetcd-io:release-3.5from
ahrtr:last_wal_rec_corrupt_3.5_20230108

Conversation

@ahrtr
Copy link
Copy Markdown
Member

@ahrtr ahrtr commented Jan 7, 2023

Backport #15068 to 3.5.

See also #14114 (comment)

Signed-off-by: Benjamin Wang wachao@vmware.com

…y synced to disk

We need to return io.ErrUnexpectedEOF in the error chain, so that
etcdserver can repair it automatically.

Backport etcd-io#15068

Signed-off-by: Benjamin Wang <wachao@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants