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

simple protocol decoder set index column incorrectly #11236

Closed
3AceShowHand opened this issue Jun 4, 2024 · 1 comment · Fixed by #11235
Closed

simple protocol decoder set index column incorrectly #11236

3AceShowHand opened this issue Jun 4, 2024 · 1 comment · Fixed by #11235
Assignees
Labels
affects-8.1 area/ticdc Issues or PRs related to TiCDC. severity/minor type/bug The issue is confirmed as a bug.

Comments

@3AceShowHand
Copy link
Contributor

What did you do?

`CREATE TABLE test.sbtest3 (
	  id int(11) NOT NULL,
	  k int(11) NOT NULL DEFAULT '0',
	  PRIMARY KEY (id),
	  KEY k_3 (k)
	)`

What did you expect to see?

the column k is not handle key column

What did you see instead?

the column k is set as handle key column, since the key k_3 id is 0, identical to the handle key column id

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

(paste TiCDC version here)
@3AceShowHand 3AceShowHand added type/bug The issue is confirmed as a bug. area/ticdc Issues or PRs related to TiCDC. labels Jun 4, 2024
@3AceShowHand 3AceShowHand self-assigned this Jun 4, 2024
@3AceShowHand
Copy link
Contributor Author

This only affect kafka test stability, no need to block release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.1 area/ticdc Issues or PRs related to TiCDC. severity/minor type/bug The issue is confirmed as a bug.
Projects
Development

Successfully merging a pull request may close this issue.

1 participant