cockroachdb / cockroachdb/cockroach

spanconfig: add periodic consistency checks between in-memory span config state and contents of system.span_configurations

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

Description

**Describe the problem**

Every node in the system maintains an in-memory view over system.span_configurations using the KVSubscriber. The assumption is that this in-memory view matches the contents of the table correctly; however, in cases such as https://github.com/cockroachdb/cockroach/issues/110908, we've seen this not to be true. We should consider adding a periodic consistency checker that validates the in-memory view is correct.

cc @andrewbaptist

Jira issue: CRDB-35449

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.