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 when injecting all tikv network partition #11376

Open
fubinzh opened this issue Jul 2, 2024 · 2 comments
Open

cdc changefeed stucks when injecting all tikv network partition #11376

fubinzh opened this issue Jul 2, 2024 · 2 comments

Comments

@fubinzh
Copy link

fubinzh commented Jul 2, 2024

What did you do?

  1. create mysql sink changefeed
  2. run tpcc prepare
go-tpc tpcc --db workload --warehouses 80 -T 50 --host upstream-tidb.cdc-testbed
-tps-7597190-1-758 --port 4000 --parts 1 prepare --ignore-error '2013,1213,1105,1205,8022,8028,9004,9007,1062
  1. run tpcc workload
/go-tpc tpcc --db workload --warehouses 80 -T 50 --host upstream-tidb.cdc-testbed
-tps-7597190-1-758 --port 4000 --parts 1 --time 1h0m0s run --ignore-error '2013,1213,1105,1205,8022,8028,9004,9007,1062'
  1. Inject all tikv network loss periodically (inject for 10s every 5 minutes), tikv network loss injected during:
    2024-07-02T10:26:36 - 10:26:46
    2024-07-02T10:31:36 - 10:31:46
    2024-07-02T10:36:36 - 10:36:46
    2024-07-02T10:41:36 - 10:41:46
    2024-07-02T10:46:36 - 10:46:46
  2. check cdc changefeed status

What did you expect to see?

changefeed checkpoint should be normal

What did you see instead?

checkpoint and resolved ts stucks.
image

Versions of the cluster

[root@upstream-ticdc-0 log]# /cdc version
Release Version: v8.2.0-alpha
Git Commit Hash: 2db0922
Git Branch: heads/refs/tags/v8.2.0-alpha
UTC Build Time: 2024-06-27 11:38:15
Go Version: go version go1.21.10 linux/amd64
Failpoint Build: false

[root@upstream-tikv-0 /]# /tikv-server -V
TiKV
Release Version: 8.2.0-alpha
Edition: Community
Git Commit Hash: e278928817ed4007279f90c7bf8e42c9b02213f2
Git Commit Branch: heads/refs/tags/v8.2.0-alpha
UTC Build Time: 2024-07-01 11:38:18
Rust Version: rustc 1.77.0-nightly (89e2160c4 2023-12-27)
Enable Features: memory-engine pprof-fp jemalloc mem-profiling portable sse test-engine-kv-rocksdb test-engine-raft-raft-engine trace-async-tasks openssl-vendored
Profile: dist_release

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

fubinzh commented Jul 3, 2024

/label affects-8.2

@fubinzh
Copy link
Author

fubinzh commented Jul 3, 2024

/severity major

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant