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

Remove blocking barrier #445

Closed

Conversation

MathieuBordere
Copy link
Contributor

@MathieuBordere MathieuBordere commented Jun 27, 2023

This is a draft PR that implements the approach to remove the (non)blocking barrier distinction discussed in #444

I believe @cole-miller is not a huge fan of the approach. Alternatives would be:

  • new segment format that encodes the index explicitly (more risky, think about downgrading raft versions, also need to be able to still handle old format segments)
  • run a barrier on the first snapshot only, this carries a performance penalty as new writes will be blocked during the snapshot.
  • ...

@MathieuBordere
Copy link
Contributor Author

Let me first fix the tests ... :-)

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

Successfully merging this pull request may close these issues.

None yet

1 participant