Skip to content

change case-sensitive parameter default value to false  #10047

Closed
@sdojjy

Description

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

Metadata

Assignees

No one assigned

    Labels

    affects-5.3affects-5.4This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.affects-7.5This bug affects the 7.5.x(LTS) versions.area/ticdcIssues or PRs related to TiCDC.severity/moderatetype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions