-
Notifications
You must be signed in to change notification settings - Fork 288
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
Expression filter: UPDATE filter is ignored if all of update-old-value filters are empty #7774
Comments
The issue is caused by Lines 197 to 199 in bc176c3
The reason why tiflow/dm/syncer/expr_filter_group.go Lines 108 to 120 in bc176c3
(And I suspect filling in only |
strange that we have these tests tiflow/dm/tests/expression_filter/conf/dm-task2.yaml Lines 36 to 43 in bc176c3
I'll take a look what's wrong |
@lance6716 it is because the test contains multiple filters on |
What did you do?
Prepare a table
Create a task which only the update-new-value filter is specified
In the upstream MySQL, execute an UPDATE statement
What did you expect to see?
The UPDATE DML should be skipped, because the changed row has
r = 'a'
.What did you see instead?
The DML is actually synchronized, i.e. SELECTing the row gives
s = 3
.Versions of the cluster
v6.3.0
current status of DM cluster (execute
query-status <task-name>
in dmctl)No response
The text was updated successfully, but these errors were encountered: