-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
"table doesn't exist" error when caller runs CREATE OR REPLACE VIEW concurrently #53673
Comments
tidb unitsore backend. log |
after starting a tiup payground and starting 2 shells to
This problem can be reproduced easily.
This will happen for lightning parallel import case because lightning will use CREATE OR REPLACE VIEW tidb/pkg/lightning/errormanager/errormanager.go Lines 122 to 137 in 04c66ee
|
@lance6716 Is it expected to have both tidb-lightning instances success? |
Yes. lightning assumes CREATE OR REPLACE VIEW like CREATE TABLE IF NOT EXISTS, it should not fail. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
found by DM integration tests
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: