PsiACE / riteraft

RiteRaft - A raft framework, for regular people
Apache License 2.0
316 stars 21 forks source link

How to implement the snapshot for persistent database? #15

Open KunPengRen opened 2 years ago

KunPengRen commented 2 years ago

I saw the snapshot interface is very simple now, only copy the mem data to the followers' node. Anyone knows how to implement a snapshot for the persistent database which is more suitable for the real-world use case.

PsiACE commented 2 years ago

I'm sorry I haven't continued working on this crate for a long time, I personally recommend you check out and use openraft, it would make a good base.