Open chrislusf opened 10 years ago
For raft algorithm, here is the mailing list: raft-dev@googlegroups.com You could also open issues here. :)
I think etcd
is a good example for this:
https://github.com/coreos/etcd/blob/master/server/peer_server.go#L282
https://github.com/coreos/etcd/blob/master/server/peer_server.go#L292
https://github.com/coreos/etcd/blob/master/server/peer_server.go#L305
I could not find a mailing list to discuss about the API usage.
Here are some of my questions about the usage of snapshots.
1) Usually there would be some commits between TakeSnapshot() calls. If I use LoadSnapshot(), do I still need to run some other commands to load the commits?
2) If I call TakeSnapshot() periodically, there would be many snapshot files accumulated. Should I have some code to clean up the old snapshot files?
3) The Start() function does not seem to load the snapshots?
Chris