cockroachdb / cockroachdb/cockroach

changefeed: let KV Excise command cancel the current Changefeed job

Open
#144,466 1 comment 0 reactions 0 assignees View on GitHub
A-kv T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

right now, if a KV Excise command was issued, it will stop the affected rangefeeds. However, Changefeed job will attempt to retry after receiving an error from rangefeeds. Preliminary testing showed that this is okay; however, in order to be safe, we could just stop the affected changefeed jobs when receiving an Excise error.

This might be important because Excise destroys the whole MVCC history, which might cause some assertion failures in the Changefeed job down the line.

Jira issue: CRDB-49387

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.