P1-[4.0-bug-hunting]-[AutoRandom Key & Drainer]-create an auto_radom table leads to Drainer block
Opened this issue · 3 comments
gekaiwen commented
Bug Report
1. What did you do?
- replicate data to mysql with pump + drainer
- 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]
shuke987 commented
/bug P0
bb7133 commented
Thanks for reporting, this bug is fixed by pingcap/tidb#16157, we'll release it in v4.0.0-rc.1