-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Many changefeeds' checkpoint suspended but status is normal #5142
Comments
There are 3 capture, cdc_stderr: Error: run server: create sorter system: [CDC:ErrNewCaptureFailed]new capture failed: resource temporarily unavailable goroutine 1661 [running]: |
After offline investigation, we identified three issues
|
https://github.com/tikv/tikv/blob/master/components/cdc/src/delegate.rs#L640 shows TiKV will panic if commitTs is less than or equal to resolvedTS. And although the resolve_ts module can advance resolved timestamps when a region leader hasn't applied to its current term, cdc will fails because of "stale command", which means incorrect resolved timestamps won't be pushed to clients. |
Verified this scenario again, update the results:
|
/close |
@nongfushanquan: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What did you do?
What did you expect to see?
No response
What did you see instead?
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):Upstream TiKV version (execute
tikv-server --version
):TiCDC version (execute
cdc version
):The text was updated successfully, but these errors were encountered: