-
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
cdc: EXCHANGE PARTITION dropped the WITHOUT VALIDATION clause #10859
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.0
area/ticdc
Issues or PRs related to TiCDC.
found/gs
report/customer
Customers have encountered this bug.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
kennytm
added
type/bug
The issue is confirmed as a bug.
area/ticdc
Issues or PRs related to TiCDC.
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.0
labels
Mar 28, 2024
The DDL is constructed in: Lines 1052 to 1063 in c178273
which did not check if the query contained the "WITHOUT VALIDATION" clause I also question the method to extract the part name from the SQL. Because running this: ALTER TABLE employees EXCHANGE /*lol*/ PARTITION p0 WITH /*rofl*/ TABLE employees_temp without VALIDATION; will immediately crash TiCDC. |
/severity major |
/found customer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.0
area/ticdc
Issues or PRs related to TiCDC.
found/gs
report/customer
Customers have encountered this bug.
severity/major
type/bug
The issue is confirmed as a bug.
What did you do?
create a TiDB → TiCDC → TiDB changefeed and execute the following in upstream:
What did you expect to see?
The DDL is sync to the downstream TiDB correctly.
What did you see instead?
The changefeed is stuck. TiCDC has rewritten the DDL which stripped out the
WITHOUT VALIDATION
optionwhich caused the
[ddl:1737]Found a row that does not match the partition
unretryable errorVersions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):v6.5.8
Upstream TiKV version (execute
tikv-server --version
):v6.5.8
TiCDC version (execute
cdc version
):v6.5.8
The text was updated successfully, but these errors were encountered: