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

dqlite: Don't trigger assertion pattern on non-error log. #137

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

MathieuBordere
Copy link
Contributor

@MathieuBordere MathieuBordere commented Dec 7, 2023

The new pattern allows to catch errors propagated from failing to start the raft node while not matching normal log lines.

example error that is still caught

raft_start(): io: closed segment 0000xxxx-0000xxxx is past last snapshot-x-xxxx-xxxxxx

quick fix for #136 , should probably take a deeper look at it, but I want the jepsen tests to run.

The new pattern allows to catch errors propagated from failing to start
the raft node while not matching normal log lines.

example error that is still caught:
raft_start(): io: closed segment 0000xxxx-0000xxxx is past last
snapshot-x-xxxx-xxxxxx

Signed-off-by: Mathieu Borderé <[email protected]>
@MathieuBordere MathieuBordere merged commit d296fd2 into canonical:master Dec 7, 2023
79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant