cockroachdb / cockroachdb/cockroach

Changefeeds cause descriptor table to become a hotspot (especially with many nodes)

Open
#159,304 4 comments 0 reactions 0 assignees View on GitHub
A-cdc C-bug O-25.4-scale-testing P-3 T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Describe the problem**

During scale testing we saw increased load on the descriptor table when running changefeeds.

Note: We actually already have a fix for this, which is turning on schema locked for the relevant tables. We observed this change fix the issue (see slack thread). Since schema locked is on by default in 26.1, we could consider this already fixed.

See this slack thread: https://cockroachlabs.slack.com/archives/C0A0KECF60Y/p1765482232801239?thread_ts=1765477615.699389&cid=C0A0KECF60Y

Jira issue: CRDB-57772

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.