Skip to content

[raft/memstore] Add snapshop capability to aux memstore#1530

Open
the-glu wants to merge 5 commits into
interuss:masterfrom
Orbitalize:memstore_aux_snap
Open

[raft/memstore] Add snapshop capability to aux memstore#1530
the-glu wants to merge 5 commits into
interuss:masterfrom
Orbitalize:memstore_aux_snap

Conversation

@the-glu

@the-glu the-glu commented Jun 15, 2026

Copy link
Copy Markdown
Member

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 add GetSnapshot / RestoreFromSnapshot capability to memstore + aux implementation, to be used in raftstore for snapshots.

Encoding is done using gob (that should be faster than json for lot of data) + state has been moved to a specific struct for direct encoding / decoding.

Version has been added to the snapshot. Incompatible changes that require "migration" of data will be handled there in the future, based on version's field.

@the-glu the-glu force-pushed the memstore_aux_snap branch 2 times, most recently from 54f5772 to b39651c Compare June 16, 2026 09:05
@barroco barroco added the dss-raft Relating to the application-layer consensus implemenation based on raft label Jun 17, 2026
@the-glu the-glu force-pushed the memstore_aux_snap branch from b39651c to 6f0b160 Compare June 18, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dss-raft Relating to the application-layer consensus implemenation based on raft

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants