Commit 7e08f8c
roachtest/perturbation: wait for rebalance after baseline; scatter restart init
Two changes motivated by the recovery-phase write stall analyzed in
#170849.
- In the shared framework runTest, wait for in-flight rebalancing
to settle after the baseline interval and before T3. This applies
to all perturbation tests; the wait is a no-op when nothing is
rebalancing, so non-restart tests only pay the polling cost. On
restart it closes the per-store range-count skew left by the fill
phase, which otherwise concentrates the recovery snapshot storm
on whichever of the target node's stores looks most underfull.
- Pass --scatter to `kv workload init` for restart so the workload
table's initial splits are distributed across stores rather than
landing wherever the allocator happens to pick at split time.
Release note: None
Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>1 parent e99f26b commit 7e08f8c
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
995 | 1003 | | |
996 | 1004 | | |
997 | 1005 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
0 commit comments