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,tests: checksum of upstream & downstream mismatch #394

Closed
pingyu opened this issue Feb 14, 2024 · 0 comments · Fixed by #397
Closed

cdc,tests: checksum of upstream & downstream mismatch #394

pingyu opened this issue Feb 14, 2024 · 0 comments · Fixed by #397
Labels
type/bug Something isn't working

Comments

@pingyu
Copy link
Collaborator

pingyu commented Feb 14, 2024

Bug Report

1. Describe the bug

In integration test case http_api for Kafka sink, the checksum between upstream & downstream was mismatch:

Error: Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}
rawkv_data failed, Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}.
check diff failed 47-th time, retry later
[2024/02/13 16:40:51.902 +08:00] [WARN] [checksum.go:80] ["Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}"]
Error: Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}
rawkv_data failed, Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}.
check diff failed 48-th time, retry later
[2024/02/13 16:40:54.954 +08:00] [WARN] [checksum.go:80] ["Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}"]
Error: Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}
rawkv_data failed, Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}.
check diff failed 49-th time, retry later
[2024/02/13 16:40:58.008 +08:00] [WARN] [checksum.go:80] ["Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}"]
Error: Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}
rawkv_data failed, Upstream checksum {5706673269840752743 5000 573867} are not same with downstream {17428354121185495048 5000 573503}.
check diff failed 50-th time, retry later
check diff failed at last
stopping tidb cluster
stop tidb cluster finished
Error 1 occurred on 1 for sink kafka

See https://do.pingcap.net/jenkins/blue/organizations/jenkins/tikv%2Fmigration%2Fpull_integration_kafka_test/detail/pull_integration_kafka_test/45/pipeline/323/

do.pingcap.net.txt.zip

log-G04.tar.gz

2. Minimal reproduce step (Required)

3. What did you see instead (Required)

Test failed.

4. What did you expect to see? (Required)

Test succeed.

5. What is your migration tool and TiKV version? (Required)

@pingyu pingyu added the type/bug Something isn't working label Feb 14, 2024
pingyu added a commit that referenced this issue Mar 5, 2024
* collect pprof heap

Signed-off-by: Ping Yu <[email protected]>

* unlimit retry for pd connection

Signed-off-by: Ping Yu <[email protected]>

* reduce record size

Signed-off-by: Ping Yu <[email protected]>

* log level: info

Signed-off-by: Ping Yu <[email protected]>

* reduce data size; add grafana panel

Signed-off-by: Ping Yu <[email protected]>

* batch

Signed-off-by: Ping Yu <[email protected]>

* fix

Signed-off-by: Ping Yu <[email protected]>

* try debug

Signed-off-by: Ping Yu <[email protected]>

* fix encoder size

Signed-off-by: Ping Yu <[email protected]>

* fix

Signed-off-by: Ping Yu <[email protected]>

* MQMessage pool

Signed-off-by: Ping Yu <[email protected]>

* fix release

Signed-off-by: Ping Yu <[email protected]>

* wip

Signed-off-by: Ping Yu <[email protected]>

* fix flaky ut

Signed-off-by: Ping Yu <[email protected]>

* logging

Signed-off-by: Ping Yu <[email protected]>

* fix ut

Signed-off-by: Ping Yu <[email protected]>

* wip

Signed-off-by: Ping Yu <[email protected]>

* adjust memory release parameter

Signed-off-by: Ping Yu <[email protected]>

* polish

Signed-off-by: Ping Yu <[email protected]>

* polish

Signed-off-by: Ping Yu <[email protected]>

* polish

Signed-off-by: Ping Yu <[email protected]>

* polish

Signed-off-by: Ping Yu <[email protected]>

* fix ut

Signed-off-by: Ping Yu <[email protected]>

* idempotent = true

Signed-off-by: Ping Yu <[email protected]>

* fix ut

Signed-off-by: Ping Yu <[email protected]>

* fix ut

Signed-off-by: Ping Yu <[email protected]>

* revert time count

Signed-off-by: Ping Yu <[email protected]>

* polish

Signed-off-by: Ping Yu <[email protected]>

---------

Signed-off-by: Ping Yu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant