cockroachdb / cockroachdb/cockroach

changefeedccl: prevent DROP EXTERNAL CONNECTION if job actively running on it

Open
#98,611 6 comments 0 reactions 0 assignees View on GitHub
A-cdc A-disaster-recovery C-enhancement T-cdc
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Today, we allow you to drop an external connection, even if a job is actively running on it, this could easily lead to user error. This could also lead to problems like garbage accumulation, similar to when we let you drop a table with a running backup/changefeed.

We should instead force you to pause or cancel the job before allowing you to drop the external connection.

Jira issue: CRDB-25362

Epic CRDB-31637

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.