-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
TiDB schema diff is wrong #37804
Comments
Maybe it is a ddl related bug? @jebter |
@lidezhu Could you provide detailed instructions on how to reproduce this? For example, how the data is prepared with ch-benchmark. More information like the log of TiDB-server & Thanks. |
Just use br to restore the data can produce the problem. I think this is just br's problem which put |
The tag should be |
can we distinguish the view in tiflash side? |
@lidezhu Can you check if this issue is fixed? |
/remove-severity major |
/severity minor |
@BornChanger: The label(s) 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 ti-community-infra/tichi repository. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Load ch-benchmark(warehouse=1500) with tiflash replica using BR;
2. What did you expect to see? (Required)
All tables created in tiflash with no error;
3. What did you see instead (Required)
If print schema diff in tiflash log we can see the following two lines:
type: 60
means this is an action ofcreateTables
. Butchbenchmark(68).revenue1(76)
is a view which should be in a schema diff of typecreateView
. So tiflash try to create a table for the viewrevenue1
but failed to do that and throw an exception.4. What is your TiDB version? (Required)
master nightly
The text was updated successfully, but these errors were encountered: