Skip to content

Commit 0eb1cd5

Browse files
authored
cdc: add warn for event filter (pingcap#19223)
1 parent 894c86b commit 0eb1cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ticdc/ticdc-changefeed-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ rules = ['*.*', '!test.*']
105105
106106
# The second event filter rule.
107107
# matcher = ["test.fruit"] # matcher is an allow list, which means this rule only applies to the fruit table in the test database.
108-
# ignore-event = ["drop table", "delete"] # Ignore the `drop table` DDL events and the `delete` DML events.
108+
# ignore-event = ["drop table", "delete"] # Ignore the `drop table` DDL events and the `delete` DML events. Note that when a value in the clustered index column is updated in TiDB, TiCDC splits an `UPDATE` event into `DELETE` and `INSERT` events. TiCDC cannot identify such events as `UPDATE` events and thus cannot correctly filter out such events.
109109
# ignore-sql = ["^drop table", "alter table"] # Ignore DDL statements that start with `drop table` or contain `alter table`.
110110
# ignore-insert-value-expr = "price > 1000 and origin = 'no where'" # Ignore insert DMLs that contain the conditions "price > 1000" and "origin = 'no where'".
111111

0 commit comments

Comments
 (0)