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

rename ddl cannot be synchronized when the new schema is not in filter #9488

Closed
CharlesCheung96 opened this issue Aug 3, 2023 · 3 comments
Closed
Assignees
Labels
affects-6.5 affects-7.1 affects-7.3 area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.

Comments

@CharlesCheung96
Copy link
Contributor

CharlesCheung96 commented Aug 3, 2023

What did you do?

  1. create changefeed with the following config:
[filter]
rules = ['*.*', '!ignore1.*']
  1. create database test;
  2. create table test.a and test.a_new;
  3. create database ignore1;
  4. RENAME TABLE test.a TO ignore1.a, test.a_new TO ignore1.a_new;
  5. create table test.b;
  6. RENAME TABLE test.b to ignore1.b;

What did you expect to see?

rename ddl is synchronized.

What did you see instead?

step 5 rename tables ddl: "[CDC:ErrSnapshotSchemaNotFound]schema
step 7 rename table ddl is skipped

Versions of the cluster

Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):

(paste TiKV version here)

TiCDC version (execute cdc version):

(paste TiCDC version here)
@CharlesCheung96 CharlesCheung96 added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. labels Aug 3, 2023
@asddongmen asddongmen self-assigned this Aug 7, 2023
@asddongmen
Copy link
Contributor

This issue can be partially fixed by: #9521

@nongfushanquan
Copy link
Contributor

/close

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Aug 28, 2023

@nongfushanquan: Closing this issue.

In response to this:

/close

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 kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-7.1 affects-7.3 area/ticdc Issues or PRs related to TiCDC. severity/moderate type/bug The issue is confirmed as a bug.
Projects
Development

No branches or pull requests

3 participants