cockroachdb / cockroachdb/cockroach

cdc: make alter changefeed a seamless operation

Open
#132,243 1 comment 0 reactions 0 assignees View on GitHub
A-cdc C-enhancement T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Today we require changefeeds operators to do the following in order to change options, certs, or other changefeed properties:

```
PAUSE
ALTER CHANGEFEED ...
RESUME
```

We could make this a more seamless experience by doing the PAUSE/RESUME steps under the hood during the ALTER CHANGEFEED statement. We should only RESUME if the changefeed started in a paused state. We would need to decide what state we leave the changefeed in if an error happens during the ALTER CHANGEFEED.

Jira issue: CRDB-42899

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.