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

Relax assumptions about all client request persisted in WAL to only require first and last request to be persisted #17966

Merged
merged 1 commit into from
May 9, 2024

Conversation

serathius
Copy link
Member

@serathius serathius commented May 8, 2024

This assumption is not true during durability issues like #14370. In reality we want to avoid situations where WAL is was truncated, for that it's enough that we ensure that first and last operations are present.

Found it when running make test-robustness-issue14370 and instead of getting Model is not linearizable I got that assumptions were broken, which is harder to understand.

cc @siyuanfoundation @MadhavJivrajani @fuweid

…equire first and last request to be persisted

This assumption is not true during durability issues like etcd-io#14370.
In reality we want to avoid situations where WAL is was truncated, for
that it's enough that we ensure that first and last operations are
present.

Found it when running `make test-robustness-issue14370` and instead of
getting `Model is not linearizable` I got that assumptions were broken.

Signed-off-by: Marek Siarkowicz <[email protected]>
@serathius
Copy link
Member Author

@serathius
Copy link
Member Author

/retest

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@serathius serathius merged commit dc35b64 into etcd-io:main May 9, 2024
42 of 43 checks passed
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.

3 participants