cockroachdb / cockroachdb/cockroach

changefeedccl: dynamic cdc query test coverage

Open
#155,967 1 comment 0 reactions 0 assignees View on GitHub
A-cdc C-enhancement O-support P-3 T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Our coverage of changefeeds using queries is nowhere near as good as of regular ones. Given how widely they're used (and the bugs we've seen in them recently), we should look to improve this.

We dynamically select which sink, format, envelope, etc to use. Let's add "use a query or not" to that list.

From this escalation: https://github.com/cockroachlabs/support/issues/3455

Jira issue: CRDB-55725

Contributor guide

Open the contributing guide

Research direction

Start by locating the changefeed query test harness and its dynamic selection of sink, format, and envelope options. Add query/no-query as another dimension, using existing regular-changefeed cases as the comparison point. Done means query-based combinations are exercised and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.