1+N环境MySQL8.0.29/30版本BUG处理措施
背景:
前期安全漏扫后,1+N环境中部分MySQL8.0数据库由低版本通过upgrade方式升级到8.0.29版本,后又升级到8.0.30版本。此版本的upgrade升级方式,在执行 alter table add colmun 操作时有一定几率会触发MySQL内部BUG,导致数据库崩溃。
注意:MySQL8.0.29版本有重大BUG,MySQL官方已收回此版本,官网已不提供下载,需升级到最新版本
主机业务范围略
应急措施:
1、上述环境涉及的业务系统,在BUG正式修复之前,暂时先不要执行 alter table add colmun 操作命令,统一提交给DBA执行。
2、需要执行该操作的,可在本贴中回复,或直接联系
3、待数据库升级完毕、该BUG修复后,方可再自主执行。
相关BUG信息:
-
InnoDB: After upgrading to MySQL 8.0.29, a failure occurred when attempting to access a table with an instantly added column. (Bug #34233264)
-
InnoDB: After upgrading to a release that supports row versions for columns added or dropped using
ALGORITHM-INSTANT
, a failure occurred during an instantADD COLUMN
operation on a table with a nullable column and an instantly added column. (Bug #34488482) -
InnoDB: The physical position of columns were not set correctly after dropping a column and renaming an existing column to the name of the dropped column. (Bug #34463089)
-
InnoDB: A column added using
ALGORITHM=INSTANT
was visible in read views created before the DDL operation that added the column. (Bug #33937504)
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)