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

change case-sensitive parameter default value to false #10047

Closed
sdojjy opened this issue Nov 9, 2023 · 1 comment · Fixed by #10049
Closed

change case-sensitive parameter default value to false #10047

sdojjy opened this issue Nov 9, 2023 · 1 comment · Fixed by #10049

Comments

@sdojjy
Copy link
Member

sdojjy commented Nov 9, 2023

now the default value of changefeed case-sensitive parameter is true, which means it will filter tables in the sensitive model

but cdc always get a lowercase db name from tikv, so in some case, some DDL will be discarded by mistake.
for example

case-sensitive=true
[filter]
rules=["DB1.*"]

ddls

USE DB1;
create table t1 (id int primary key);
alter table t1 rename to t2;
alter table t2 rename to t1;

the last ddl alter table t2 rename to t1; will be ignored

@fubinzh
Copy link

fubinzh commented Nov 9, 2023

/type bug
/severity moderate

@ti-chi-bot ti-chi-bot bot added type/bug The issue is confirmed as a bug. severity/moderate labels Nov 9, 2023
ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this issue Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

3 participants