alter table tt ENGINE=InnoDB ;
ERROR 1062 (23000): Duplicate entry '154878957' for key 'PRIMARY'
对一个大表 进行online DDL的时候偶尔回出现一下报错 ,
在mysql 官方查找到 相关bug id https://bugs.mysql.com/bug.php?id=76895
但是这个bug并没有被确认 ,也就说严格意义上不算一个bug 。
查看官方文档 online DDL 部分资料
官方文档资料
https://dev.mysql.com/doc/refman/5.6/en/innodb-online-ddl-limitations.html
转载于:https://blog.51cto.com/dwchaoyue/2313356