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

When binlog encounters a failed DDL statement (contains if not exists / if exists), it will report an error #1228

Closed
okJiang opened this issue May 4, 2023 · 2 comments · Fixed by #1229

Comments

@okJiang
Copy link
Member

okJiang commented May 4, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

When binlog encounters a failed DDL statement (contains if not exists / if exists), it will report an error.

  1. What did you expect to see?

Skip these DDL

  1. What did you see instead?

Report error

  1. Please provide the relate downstream type and version of drainer.
    (run drainer -V in terminal to get drainer's version)

Reason

The reason is the failed DDL job's SchemaVersion is zero, which is a special case. So we can skip them.

@mayjiang0203
Copy link

mayjiang0203 commented Jun 16, 2023

/remove-label affects-%207.1

@ti-chi-bot
Copy link

ti-chi-bot bot commented Jun 16, 2023

@mayjiang0203: The label(s) affects-%207.1 cannot be applied. These labels are supported: contribution, duplicate, feature-request, first-time-contributor, invalid, need-update-ansible, need-update-docs, needs-cherry-pick-release-5.1, needs-cherry-pick-release-5.2, needs-cherry-pick-release-5.3, needs-cherry-pick-release-5.4, needs-cherry-pick-release-6.0, needs-cherry-pick-release-6.1, needs-cherry-pick-release-6.2, needs-cherry-pick-release-6.3, needs-cherry-pick-release-6.4, needs-cherry-pick-release-6.5, needs-cherry-pick-release-6.6, needs-cherry-pick-release-7.0, needs-cherry-pick-release-7.1, p0, p1, p2, question, wontfix.

In response to this:

/remove-label affects-%207.1

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants