pingcap / tiflash

The analytical engine for TiDB and TiDB Cloud. Try free: https://tidbcloud.com/free-trial
https://docs.pingcap.com/tidb/stable/tiflash-overview
Apache License 2.0
937 stars 409 forks source link

(serverless) tiflash query data is inconsistent with tikv #8779

Closed mayjiang0203 closed 3 months ago

mayjiang0203 commented 5 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

[htap_bigdata_consistency_004]

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

3. What did you see instead (Required)

    Unexpected error:
        <*fmt.wrapError | 0xc0014a0060>: {
            msg: "result inconsistent tso 447810451889192971, difference: row number: 1, row1: 2201000, row2: 2200000, tikv: [2201000], tiflash [2200000]",
            err: <*errors.errorString | 0xc00002bc50>{
                s: "result inconsistent",
            },
        }
        result inconsistent tso 447810451889192971, difference: row number: 1, row1: 2201000, row2: 2200000, tikv: [2201000], tiflash [2200000]
    occurred

4. What is your TiFlash version? (Required)

[root@tc-tiflash-0 bin]# /tiflash/tiflash version
TiFlash
Release Version: v7.1.0-alpha-467-gecaf78a
Edition:         Community
Git Commit Hash: ecaf78a002b611b128a4683f3653ca240a022914
Git Branch:      cloud-engine-on-release-7.4
UTC Build Time:  2024-01-24 14:33:01
Enable Features: jemalloc sm4(GmSSL) avx2 avx512 unwind thinlto
Profile:         RELWITHDEBINFO

Raft Proxy
Git Commit Hash:   a36beee87aea5dbebc2bd1f2e634f9ef6da68174
Git Commit Branch: HEAD
UTC Build Time:    2024-01-24 14:37:55
Rust Version:      rustc 1.67.0-nightly (96ddd32c4 2022-11-14)
Storage Engine:    tiflash
Prometheus Prefix: tiflash_proxy_
Profile:           release
Enable Features:   Unknown (env var does not exist when building)
mayjiang0203 commented 5 months ago

/severity critical /assign @JinheLin

JaySon-Huang commented 4 months ago

should be the same issue as https://github.com/pingcap/tiflash/issues/8845

JaySon-Huang commented 3 months ago

Close as duplicated with #8845. Will be tracked in that issue.