Commit c3bc9cd
committed
roachtest: skip perturbation-interval gate for partition
The partition test isolates an entire region (4 of 12 nodes), removing
1/3 of leaseholders. Foreground throughput drops sharply while the
partition is in effect, and the meaningful pass/fail signal is whether
the cluster returns to baseline once the partition heals. Gating the
perturbation interval at the default 1.25x throughput floor mostly
produces flakes.
Use noImpactThresholds() for the perturbation interval and keep the
default 1.25x throughput floor for the recovery interval, via the
recoveryImpact field added in the parent commit.
While here, add a comment to slowDisk explaining why the default
threshold is appropriate for the full variant: with walFailover=true
and 2 disks per node, raft log writes fail over to the non-throttled
store and foreground throughput stays close to baseline. The lenient
1.25x floor is mainly to absorb noise from the slowLiveness leg.
Release note: None1 parent 8fff0e1 commit c3bc9cd
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
| |||
0 commit comments