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