Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
84652: workload/kv: randomly choose the start key for limited scans r=arulajmani a=arulajmani The `span-limit` (in conjunction with `span-percent`) is used to configure the kv workload to perform limited scans. Previously, we would always perform these scans at the start of the keyspace. With this patch, we now start the scan at a random start key instead. The key is selected randomly based on the key generator specified for regular read/write ops (uniform, sequential, or zipfian). The behaviour of `span-limit` 0 is left unchanged. Release note: None Co-authored-by: Arul Ajmani <[email protected]>
- Loading branch information