Data is inconsistent between TiFlash and TiKV after changing column types #5032
Labels
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
component/storage
severity/critical
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Run the full-stack test: https://github.com/pingcap/tiflash/blob/335b124cab124828aadc318b7355f8390950f032/tests/fullstack-test2/ddl/alter_column_when_pk_is_handle.test, it will fail probability: https://ci.pingcap.net/blue/organizations/jenkins/tiflash-ghpr-integration-tests/detail/tiflash-ghpr-integration-tests/6648/pipeline
2. What did you expect to see? (Required)
Pass the test.
3. What did you see instead (Required)
The test fail,
![飞书20220531-000239](https://user-images.githubusercontent.com/14118780/171028481-ec34278d-c677-4f96-8b64-1b228879f4e0.jpg)
![image](https://user-images.githubusercontent.com/14118780/171028922-2fcfaf9c-339f-4647-8149-e92abd7d4720.png)
![image](https://user-images.githubusercontent.com/14118780/171029100-dd62a7a5-6ee5-4494-959a-2c8e4b8ec1e2.png)
Data is inconsistent between TiFlash and TiKV, the log shows that TiFlash use default value instead of
0
:The
col_6
does not exist in stable:4. What is your TiFlash version? (Required)
7dff463
The text was updated successfully, but these errors were encountered: