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

Config case-sensitive Not affecting eventFilter. #11570

Open
asddongmen opened this issue Sep 6, 2024 · 1 comment
Open

Config case-sensitive Not affecting eventFilter. #11570

asddongmen opened this issue Sep 6, 2024 · 1 comment
Labels

Comments

@asddongmen
Copy link
Contributor

What did you do?

  1. create a changefeed with config as fllow:
case-sensitive = false
[filter]
rules = ['test.t']
[[filter.event-filters]]
matcher = ['test.t'] 
ignore-event = ["delete"] # filter out delete event of table `test.t` 
  1. Delele a row of test.T in upstream TiDB.

What did you expect to see?

TiCDC ignores the DELETE event.

What did you see instead?

TiCDC replicated the DELETE event.

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):

master
@asddongmen asddongmen added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. labels Sep 6, 2024
@asddongmen asddongmen changed the title Config case-sensitive does not affect eventFilter. Config case-sensitive Not affecting eventFilter. Sep 6, 2024
@asddongmen
Copy link
Contributor Author

The root cause of this issue is that the eventFilter is not affected by the case-sensitive = false config, which contradicts the official documentation: https://arc.net/l/quote/hyfhxvkb

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

No branches or pull requests

1 participant