[raft] Add base memstore #1527
Open
the-glu wants to merge 3 commits into
Open
Conversation
88968fa to
c44105e
Compare
7a58f6e to
49b621f
Compare
49b621f to
3115532
Compare
This was referenced Jun 18, 2026
3115532 to
56c5e85
Compare
This was referenced Jun 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is part of a new chain, implementing memstore.
#1525 (Generic raftstore) -> #1527 (Base memstore) -> #1529 (Aux memstore) -> #1530 (Snapshots) -> #1534 (Rid memstore) -> #1535 (Correct use of now) -> #1539 (Checkpoint) -> #1542 (Scd memstore) -> #1528 (First PR with raft using memstore)
It does add the base for the 'in memory' store to be used by raft as underlying storage.
Rationale for direct, in memory structure is in #1526
In theory, this store could be used e.g. for testing as 'regular' storage with small tweaks (like implementation of transact and being thread-safe), but for now it's goal is only to be used by raft.
Follow-up PRs will come with actual implementation.