-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The new block format assumes that prefixes are ordered lexicographically. We now require the `Compare` function to adhere to this assumption. This is already the case with our test comparators and the CRDB comparator. We add a `Comparer` wrapper that verifies this assumption, and we use this in a low percentage of `invariant` test runs.
- Loading branch information
1 parent
4f01ec4
commit 72c3f55
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters