Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
83373: batcheval: fix key ordering in `TestRandomKeyAndTimestampExport` r=nicktrav a=erikgrinaker `TestRandomKeyAndTimestampExport` was supposed to generate a set of ordered random keys by prefixing the random byte string with a text-formatted sequence number. However, the sequence number was not padded, so e.g. `#314` could precede `#1000`. This led it to generate bogus iterator bounds, where the lower bound was ordered after the upper bound, triggering iterator assertion failures. This patch correctly left-pads the number with `0` to maintain correct lexicographic ordering. Resolves #83370. Release note: None Co-authored-by: Erik Grinaker <[email protected]>
- Loading branch information