Skip to content

testcluster: disallow sharing of Settings between nodes #112395

@RaduBerinde

Description

@RaduBerinde

It's a common pattern to specify ServerArgs inside TestClusterArgs. If we specify Settings, this object ends up being shared between the nodes in the cluster. This can lead to very hard to debug failures, especially around updates to the version setting.

We should disallow having this field set in this way and fix up any tests that do this (one is here:

Settings: cluster.MakeTestingClusterSettingsWithVersions(endV, startV, false),
).

Jira issue: CRDB-32395

Metadata

Metadata

Assignees

Labels

C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-testengTestEng Team

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions