Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

raft_start(): io: closed segment 0000000000003069-0000000000003157 is past last snapshot #372

Closed
MathieuBordere opened this issue Jan 30, 2023 · 5 comments

Comments

@MathieuBordere
Copy link
Contributor

MathieuBordere commented Jan 30, 2023

Recently there have been a couple of failures in the Jepsen suite with the failure listed in the title, it looks related to segment truncation.

run 1 - artifact 1


run 2 - artifact 2

@MathieuBordere
Copy link
Contributor Author

MathieuBordere commented Jan 31, 2023

A first analysis points in the direction of the UvTruncate barrier callback that is never fired if a barrier is already active, in these cases a snapshot barrier.

@MathieuBordere
Copy link
Contributor Author

I think it's related to all currently open segments being involved in a barrier, this results in the truncate barrier never "attaching" to an open segment, resulting in the barrier callback to never be fired.

if (segment->barrier != NULL) {

Will investigate further to confirm suspicions.

@cole-miller
Copy link
Contributor

Can this be closed now that #435 is merged?

@MathieuBordere
Copy link
Contributor Author

Can this be closed now that #435 is merged?

yes

@MathieuBordere
Copy link
Contributor Author

fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants