mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Update raftexample to save the snapshot file and WAL snapshot entry before hardstate to ensure the snapshot exists during recovery. Otherwise if there is a failure after storing the hard state there may be reference to a non-existent snapshot. This PR introduces the fix from #10219 to the raftexample.
Contrib
Scripts and files which may be useful but aren't part of the core etcd project.
- systemd - an example unit file for deploying etcd on systemd-based distributions
- raftexample - an example distributed key-value store using raft
- systemd/etcd3-multinode - multi-node cluster setup with systemd