Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: restore lower-bound of 1 on pebbleMVCCScanner.itersBeforeSeek
This was supposed to be temporarily removed in cockroachdb@b258e82 but was never restored. It accounts for a 2x slowdown in a benchmark where a scan encounters a few keys at the beginning of the scan with > 5 versions, that cause itersBeforeSeek to drop to 0, and then for the remaining 1000s of keys with only 1 versions it uses SeekGE instead of Next. Informs cockroachdb#96361 Also see cockroachlabs/support#2033 Epic: none Release note: None
- Loading branch information