Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/raftexample: save snapshot to WAL first
Save the snapshot index to the WAL before saving the snapshot to the filesystem. This ensures that we'll only ever call wal.Open with a snapshot that was previously saved to the WAL.
- Loading branch information