-
Notifications
You must be signed in to change notification settings - Fork 282
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
kafka consumer missing data cause data inconsistency when the brokers failed frequently #9241
Comments
Kafka consumer log: |
case kafka_controller_fail also fails due to consistency check failure. https://tcms.pingcap.net/dashboard/executions/plan/1808271 |
/severity critical |
/found automation |
[2023/06/14 03:39:17.771 +00:00] [PANIC] [main.go:346] ["Error from consumer: %v"] [error="dial tcp 10.233.78.133:9092: connect: connection refused"] [stack="main.main.func1\n\tgithub.com/pingcap/tiflow/cmd/kafka-consumer/main.go:346"] |
After investigation, the data loss comes from the kafka consumer part, not the cdc. |
/remove-severity critical |
/severity major |
/severity moderate |
#9694 |
@nongfushanquan: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What did you do?
"sysbench --db-driver=mysql --mysql-host=
nslookup upstream-tidb.cdc-testbed-tps-1807799-1-20 | awk -F: '{pr int $2}' | awk 'NR==5' | sed s/[[:space:]]//g
--mysql-port=4000 --mysql-user=root --mysql-db=workload --tables=100 --table-size=100000 --create_secondary=off --time=1800 --debug=true --threads=100 --mysql-ignore-errors=2013,1213,1105,1205,8022,8027,8028,9004,9007,1062 oltp_update_non_index run"What did you expect to see?
data should be consistent
What did you see instead?
data inconsistecy seen, 3 out of 100 tables are inconsistent.
Versions of the cluster
cdc version
The text was updated successfully, but these errors were encountered: