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

Data is inconsistent between TiFlash and TiKV after changing column types #5032

Closed
hehechen opened this issue May 30, 2022 · 0 comments · Fixed by #5044
Closed

Data is inconsistent between TiFlash and TiKV after changing column types #5032

hehechen opened this issue May 30, 2022 · 0 comments · Fixed by #5044
Assignees
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.

Comments

@hehechen
Copy link
Contributor

hehechen commented May 30, 2022

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
Data is inconsistent between TiFlash and TiKV, the log shows that TiFlash use default value instead of 0:
image
The col_6 does not exist in stable:
image

4. What is your TiFlash version? (Required)

7dff463

@hehechen hehechen added the type/bug The issue is confirmed as a bug. label May 30, 2022
@lidezhu lidezhu self-assigned this Jun 2, 2022
@flowbehappy flowbehappy added 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. severity/critical component/storage labels Jun 2, 2022
@flowbehappy flowbehappy changed the title Data is inconsistent between TiFlash and TiKV Data is inconsistent between TiFlash and TiKV after DDL Jun 2, 2022
@flowbehappy flowbehappy changed the title Data is inconsistent between TiFlash and TiKV after DDL Data is inconsistent between TiFlash and TiKV after changing column types Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants