cockroachdb / cockroachdb/cockroach
changefeedccl: add cluster setting to enable the btree frontier
Open
A-cdc
C-enhancement
T-cdc
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Since the btree frontier has been fixed, we should add a cluster setting to enable its use, for its performance benefits. Currently it can be enabled with an [env var](https://github.com/asg0451/cockroach/blob/9e9101a6b194c723107c3be47d670a2c9e2e65b8/pkg/util/span/frontier.go#L106-L108). We should keep it disabled by default.
ref: https://cockroachlabs.slack.com/archives/C2C5FKPPB/p1731960715770269?thread_ts=1731707549.869419&cid=C2C5FKPPB
Jira issue: CRDB-45267
Contributor guide
Assessment
This issue has not been assessed yet.