Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: don't load applied index twice during Raft snapshot
This was harmless, but it was also unnecessary and looked quite alarming. It would be a major problem if the Raft applied index stored in a `SnapshotMetadata` was ever incoherent with the applied state in the snapshot. However, we're reading from a consistent enging snapshot in `snapshot`, so the Raft applied index can't change. Still, better to avoid questions. The "members of the Range struct" comment was very stale, dating back to acc41dd.
- Loading branch information