cockroachdb / cockroachdb/cockroach

asim: add randomness to cluster setup

Open
#106,322 0 comments 0 reactions 0 assignees View on GitHub
A-kv-simulation C-enhancement
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

The issue tracks work for adding randomness to initial cluster setup.

Related: https://github.com/cockroachdb/cockroach/issues/106192

In this second phase, the aim is to amplify the randomness into the initial
cluster generation. Specifically, we will introduce more randomness to zone
configuration, initial node placements, node localities, and node attributes.
This task presents challenges due to potential dependencies between zone
configuration and node localities. In addition, this task also requires
comprehensive validation to ensure the generated cluster setup is somewhat
functional and valid.

Furthermore, we plan to support randomized node status change and randomized
node membership (active, decommissioning or decommissioned members for gossip
protocol).

Upon completion, the goal is to scale up these tests to enable more extensive
exploratory testing to uncover more interesting edge cases. To handle this
larger system, we will likely need to shift from the current go-test approach to
a testing framework similar to roachtest.

Jira issue: CRDB-29506

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.