Commit 9ec1266
roachtest: add --scatter option to kv workload init for perturbation tests
The kv workload's `init` subcommand supports a --scatter flag that
scatters the table immediately after splitting; this gives the
allocator a chance to spread leaseholders across the cluster while
queues are idle, instead of leaving every split's children with the
parent's leaseholder. Add an opt-in v.scatter field that initWorkload
passes through. Off by default so existing tests are unaffected.
Epic: none
Release note: None
Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>1 parent 5f6f380 commit 9ec1266
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
0 commit comments