cockroachdb / cockroachdb/cockroach

kvnemesis: construct targeted batches

Open
#156,770 0 comments 0 reactions 0 assignees View on GitHub
A-testing C-enhancement T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Currently, we have over 60 different client ops in the kvnemsis generator, while the test is configured to choose only 100 random ops per run. Some of these are multi-op batches and transactions that increase the total number of ops run by a given test, but the probability of choosing a fixed op is still pretty low.

To improve our test coverage, we should consider constructing more targeted batches; e.g. read-only batches, write-only batches, etc. We can also consider revising the swarm testing idea prototyped in https://github.com/cockroachdb/cockroach/pull/150495.

Jira issue: CRDB-56185

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.