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

ddl: need cancel job,after met DropTableOrView error #40783

Closed
ystaticy opened this issue Jan 28, 2023 · 1 comment
Closed

ddl: need cancel job,after met DropTableOrView error #40783

ystaticy opened this issue Jan 28, 2023 · 1 comment
Assignees
Labels
may-affects-6.1 severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@ystaticy
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

If the create and replace view ddl job in is interrupted after drop view , we may encounter table doesn't exist(In fact, the old view has been dropped ) in DropTableOrView when we restart tidb and the rerun the job by old view info.

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

If the view was dropped in old ddl process, it need to be cancelled.

3. What did you see instead (Required)

The ddl job restart in a new ddl job, but it always try again with the old view id.

4. What is your TiDB version? (Required)

when 6.2 upgrade to 6.4

@Defined2014
Copy link
Contributor

Fixed by #40353, close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
may-affects-6.1 severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

3 participants