Skip to content
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

TiCDC can't recover after TiDB of upstream OOM #8561

Closed
WangLe1321 opened this issue Mar 17, 2023 · 3 comments · Fixed by tikv/tikv#14465
Closed

TiCDC can't recover after TiDB of upstream OOM #8561

WangLe1321 opened this issue Mar 17, 2023 · 3 comments · Fixed by tikv/tikv#14465

Comments

@WangLe1321
Copy link

What did you do?

TiDB of upstream has too high qps and connections, causing TIDB OOM.
metrics of TiDB:
https://clinic.pingcap.com/grafana/d/000000013tidbcloudv6_1_x/tidb-runtime-cluster-clinic?orgId=1&var-tidb_cluster=1379661944640134080&var-instance=All&var-store=All&from=1678407999000&to=1678415199000&var-tidb_version=v6.1.x&var-org=1372813089196917631&refresh=15m&var-org_type=cloud
https://clinic.pingcap.com/grafana/d/2bbdcd7d4d88a2dtidbcloudv6_1_x/tidb-summary-cluster-clinic?orgId=1&var-tidb_cluster=1379661944640134080&var-instance=All&var-store=All&from=1678407999000&to=1678415199000&var-tidb_version=v6.1.x&var-org=1372813089196917631&refresh=15m&var-org_type=cloud
https://clinic.pingcap.com/portal/#/orgs/1372813089196917631/clusters/1379661944640134080/report/5/fed8c3b6-fe7a-48f7-80e1-100dacf18938

after scale up TiDB nodes, TiDB recovered.

What did you expect to see?

After TiDB recovered, cdc should reduce lag.

What did you see instead?

cdc lag is still high.

Versions of the cluster

Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):

(paste TiKV version here)

TiCDC version (execute cdc version):

(paste TiCDC version here)

https://clinic.pingcap.com/portal/#/orgs/1372813089196917631/clusters/1379661944640134080

cluster version is v6.1.3

@WangLe1321 WangLe1321 added area/ticdc Issues or PRs related to TiCDC. type/bug This is a bug. labels Mar 17, 2023
@github-actions github-actions bot added this to Need Triage in Question and Bug Reports Mar 17, 2023
@fubinzh
Copy link

fubinzh commented Mar 17, 2023

The issue can be work around per #4516 (comment)

@fubinzh
Copy link

fubinzh commented Mar 17, 2023

/severity major

@nongfushanquan
Copy link
Contributor

/assign @overvenus

Question and Bug Reports automation moved this from Need Triage to Done Apr 7, 2023
ti-chi-bot added a commit to tikv/tikv that referenced this issue Apr 7, 2023
…ock (#14465)

close pingcap/tiflow#8561, ref #11993

cdc: batch send resolved ts exponentially to speed up TiCDC resolve lock

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ti-chi-bot pushed a commit to ti-chi-bot/tikv that referenced this issue May 23, 2023
close pingcap/tiflow#8561, ref tikv#11993

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
overvenus added a commit to ti-chi-bot/tikv that referenced this issue May 23, 2023
…ock (tikv#14465)

close pingcap/tiflow#8561, ref tikv#11993

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Signed-off-by: Neil Shen <overvenus@gmail.com>
ti-chi-bot bot pushed a commit to tikv/tikv that referenced this issue May 23, 2023
…ock (#14465) (#14796)

close pingcap/tiflow#8561, ref #11993, ref #14465

cdc: batch send resolved ts exponentially to speed up TiCDC resolve lock

Signed-off-by: Neil Shen <overvenus@gmail.com>

Co-authored-by: Neil Shen <overvenus@gmail.com>
Co-authored-by: 二手掉包工程师 <rustin.liu@gmail.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

6 participants