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

Workloads not distributed to all CDC nodes #9839

Closed
fubinzh opened this issue Oct 8, 2023 · 3 comments
Closed

Workloads not distributed to all CDC nodes #9839

fubinzh opened this issue Oct 8, 2023 · 3 comments
Assignees
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.4 area/ticdc Issues or PRs related to TiCDC. severity/major type/bug The issue is confirmed as a bug.

Comments

@fubinzh
Copy link

fubinzh commented Oct 8, 2023

What did you do?

  1. TiDB cluster with 3 CDC nodes
  2. create kafka changefeed
[root@maincluster-ticdc-0 /]# cat /tmp/changefeed.toml
[filter]
rules = ['bigc.*']
[sink.kafka-config.large-message-handle]
large-message-handle-option = "claim-check"
claim-check-storage-uri = "s3://qe-testing-kafka-claim-check/0926?access-key=xxx&secret-access-key=xxxx&endpoint=http%3a%2f%2fks3-cn-beijing-internal.ksyuncs.com&force-path-style=false&region=Beijing&provider=ks"
large-message-handle-compression = "snappy"

  1. Run workload with 6 tables
 nohup /workload --tps=2000 --row-count=3000000000 --table-count=6 --thread=30 --workload-type=large_row --database-host=maincluster-tidb --database-port=4000 --database-user=root --database-db-name=bigc --skip-create-table=true --large-row-size=1048576 --large-ratio=0.005 > large_row_tps2k_0.005_t30_1007.log 2>&1 &

What did you expect to see?

  1. Workload of 6 tables should be distributed to 3 CDC node.

What did you see instead?

At first 6 table are distributed to 3 cdc nodes (each CDC nodes take care of 2 tables), then only 2 CDC nodes have workload, finally all workloads goes to 1 CDC nodes.

image

Versions of the cluster

[release-version=v7.4.0] [git-hash=43848f2fb5646822903baee35b62c580498284e2]

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

fubinzh commented Oct 8, 2023

/label affects-7.4

@fubinzh
Copy link
Author

fubinzh commented Oct 8, 2023

/severity major

@3AceShowHand
Copy link
Contributor

This happens if the basic scheduler generate remove table task, but which is empty and no-op.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 This bug affects the 6.5.x(LTS) versions. affects-7.1 This bug affects the 7.1.x(LTS) versions. affects-7.4 area/ticdc Issues or PRs related to TiCDC. severity/major type/bug The issue is confirmed as a bug.
Projects
Development

No branches or pull requests

2 participants