Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vsr: verify that FreeSet index is consistent
None of our fuzzers actually checks that. In theory, the simulator can discover inconsistencies when a replica restarts (decoding free set from disk resets the index), but, given that the shard size is 4096, this is quite unlikely. With this change, injecting a bug in index computation gets discovered by free set fuzzer at least. See #1309 (comment) for an example of a bug this assert guards against.
- Loading branch information