cockroachdb / cockroachdb/cockroach
changefeedccl: prevent DROP EXTERNAL CONNECTION if job actively running on it
Open
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
Assessment
This issue has not been assessed yet.