kvnemesis: use ReplicationManual #93973
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-testeng
TestEng Team
Describe the problem
In #89477, TestKVNemesisMultiNode was (accidentally) switched to use ReplicationAuto instead of ReplicationManual, meaning that the TestCluster will upreplicate and also have the replicate queue active throughout the run.
We should decide whether that's desirable and if not, undo this change.
kvnemesis does perform manual replication changes, so manual seems preferrable to preserve as much determinism as possible.
kvnemesis also performs random zone config changes, which I thought was an argument for keeping the replicate queue active, but it turns out that at the time of writing, the only zone cfg change it can make is toggling global reads, which is independent of the replicate queue being active:
cockroach/pkg/kv/kvnemesis/generator.go
Lines 914 to 916 in 97054a0
Jira issue: CRDB-22630
The text was updated successfully, but these errors were encountered: