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

cdc changefeed stucks #8174

Closed
fubinzh opened this issue Feb 4, 2023 · 4 comments · Fixed by #8179
Closed

cdc changefeed stucks #8174

fubinzh opened this issue Feb 4, 2023 · 4 comments · Fixed by #8179
Assignees
Labels
affects-6.5 area/ticdc Issues or PRs related to TiCDC. found/automation Bugs found by automation cases severity/critical type/bug The issue is confirmed as a bug.

Comments

@fubinzh
Copy link

fubinzh commented Feb 4, 2023

What did you do?

  1. deploy tidb cluster with 3 CDC
  2. create 2 kafka changefeed, one canal json, the other open protocal
  3. run sysbench prepare
    sysbench --db-driver=mysql --mysql-host=`nslookup upstream-tidb.cdc-testbed-tps-1530295-1-204 | awk -F: '{print $2}' | awk 'NR==5' | sed s/[[:space:]]//g` --mysql-port=4000 --mysql-user=root --mysql-db=workload --tables=30 --table-size=1000000 --create_secondary=off --debug=true --threads=20 --mysql-ignore-errors=2013,1213,1105,1205,8022,8027,8028,9004,9007,1062 oltp_write_only prepare
  4. scale out tikv to 6
  5. scale in ticdc to 1
  6. run sysbench, and at the same time, scale tikv to 3, scale cdc to 6
ysbench --db-driver=mysql --mysql-host=`nslookup upstream-tidb.cdc-testbed-tps-1530295-1-204 | awk -F: '{print $2}' | awk 'NR==5' | sed s/[[:space:]]//g`  --mysql-port=4000 --mysql-user=root --mysql-db=workload --tables=30 --table-size=1000000 --create_secondary=off --time=7200 --debug=true --threads=20 --mysql-ignore-errors=2013,1213,1105,1205,8022,8027,8028,9004,9007,1062 oltp_write_only run
  1. wait cdc changefeed advance

What did you expect to see?

cdc changefeed should advance

What did you see instead?

  • canal json changefeed advances. but open protocal changefeed stucks.

image

Versions of the cluster

CDC version:
[2023/02/04 01:53:09.767 +00:00] [INFO] [version.go:47] ["Welcome to Change Data Capture (CDC)"] [release-version=v6.6.0-alpha] [git-hash=84a76a88348b2bbf760a81e42ef2f5a3b0182dbc] [git-branch=heads/refs/tags/v6.6.0-alpha] [utc-build-time="2023-02-03 09:46:49"] [go-version="go version go1.19.5 linux/amd64"] [failpoint-build=false]

@fubinzh fubinzh added area/ticdc Issues or PRs related to TiCDC. type/bug The issue is confirmed as a bug. labels Feb 4, 2023
@fubinzh
Copy link
Author

fubinzh commented Feb 4, 2023

@fubinzh
Copy link
Author

fubinzh commented Feb 4, 2023

/severity Critical

@nongfushanquan
Copy link
Contributor

/assign @3AceShowHand

@fubinzh
Copy link
Author

fubinzh commented Mar 14, 2023

/found automation

@ti-chi-bot ti-chi-bot added the found/automation Bugs found by automation cases label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 area/ticdc Issues or PRs related to TiCDC. found/automation Bugs found by automation cases severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
4 participants