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

Context deadline exceeded when replicating data without split big txn #7982

Closed
Rustin170506 opened this issue Dec 27, 2022 · 1 comment · Fixed by #7981
Closed

Context deadline exceeded when replicating data without split big txn #7982

Rustin170506 opened this issue Dec 27, 2022 · 1 comment · Fixed by #7981
Labels
affects-6.1 affects-6.5 area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@Rustin170506
Copy link
Member

What did you do?

  1. create tidb and ticdc cluster
  2. create changefeed tiup cdc:nightly cli changefeed create --sink-uri="mysql://root@xxx4000/?transaction-atomicity=table" -c "test" --config=changefeed.toml --server xxxxx:8300 and disable split big TXN
  3. execute a big txn
workload -database-host 10.2.6.253 -database-db-name test -row-count 5000000 -table-count 3 -tps 50000

mysql -h xxxx -u root -P 4000 -p
use test;
show tables;
begin;
update sbtest0 set k = k + 1;
update sbtest1 set k = k + 1;
update sbtest2 set k = k + 1;
commit;

What did you expect to see?

Changefeed replicates normally.

What did you see instead?

Got an error: context deadline exceeded

Versions of the cluster

master

@Rustin170506 Rustin170506 added type/bug The issue is confirmed as a bug. severity/moderate area/ticdc Issues or PRs related to TiCDC. affects-6.5 labels Dec 27, 2022
@Rustin170506 Rustin170506 changed the title Context deadline exceeded when disabling split big txn Context deadline exceeded when replicating data without split big txn Dec 27, 2022
@nongfushanquan
Copy link
Contributor

/label affects-6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.1 affects-6.5 area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants