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

P0-[4.0-bug-hunting]-[AutoRandom Key & Drainer]-create an auto_radom table leads to Drainer block #17764

Closed
sre-bot opened this issue Jun 5, 2020 · 2 comments
Labels
component/tools sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@sre-bot
Copy link
Contributor

sre-bot commented Jun 5, 2020

Bug Hunter issue tidb-challenge-program/bug-hunting-issue#61


Bug Report

1. What did you do?

  1. replicate data to mysql with pump + drainer
  2. create a table with auto_random primary key
    create table t (a int primary key auto_random)

2. What did you expect to see?

Drainer can create table on mysql without auto_random , with hint or other ways, but not block.

3. What did you see instead?

drainer exit.

4. What version of TiDB are you using? (tidb-server -V or run select tidb_version(); on TiDB)

TiDB Version: v4.0.0-rc

[2020/04/23 17:25:42.496 +08:00] [INFO] [version.go:50] ["Welcome to Drainer"] ["Release Version"=v4.0.0-rc] ["Git Commit Hash"=b9af7839b97cfb26a71307a8b6334f2269b60a95] ["Build TS"="2020-04-08 07:55:27"] ["Go Version"=go1.13] ["Go OS/Arch"=linux/amd64]

@sre-bot sre-bot added the type/bug The issue is confirmed as a bug. label Jun 5, 2020
@zimulala
Copy link
Contributor

zimulala commented Jun 8, 2020

PTAL @tangenta

@tangenta
Copy link
Contributor

tangenta commented Jun 8, 2020

This should be fixed in #16157.

@tangenta tangenta closed this as completed Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tools sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants