Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changefeedccl: Handle node unavailable error.
Treat NodeUnavailable error as a retryable changefeed error. NodeUnavaiable error may be returned by changefeed processors if the node is being shutdown/drained. However, this error return is racy. Sometimes, the coordinator would see "rpc context cancellation" error instead -- in those cases it would treat the error as retryable. However, sometimes it is possible to get this error propagated (for example: when server shutdown races with starting up kv feed, which uses Stopper, whcih may return NodeUnavailable error if it's being shutdown). Release Notes (bug fix): Treat node unavailable error as a retryable changefeed error.
- Loading branch information