产生原因:
1、开启change buffer(innodb_change_buffering)
2、对表进行大量delete 操作
3、对相同表进行truncate

bug名称:ibuf cursor restoration fails(change buffer 游标存储失败)
改进:升级版本至 5.7.31 或者 8.0.21

2020-07-02T12:01:54.342463+08:00 0 [ERROR] InnoDB: ibuf cursor restoration fails!. ibuf record inserted to page 49868:25715
2020-07-02T12:01:54.342522+08:00 0 [ERROR] InnoDB: Submit a detailed bug report to http://bugs.mysql.com
PHYSICAL RECORD: n_fields 7; 1-byte offsets; info bits 00: len 4; hex 00002722; asc   '";;1: len 1; hex 00; asc  ;;2: len 4; hex 00000b3a; asc    :;;3: len 22; hex 001400010c0f00c8002d0c0f0100802d860800088000; asc          -     -      ;;4: len 30; hex e6b599e6b19fe6b0b8e5a4aae7a791e68a80e882a1e4bbbde69c89e99990; asc                               ; (total 36 bytes);5: len 30; hex 5041524b3436335f454d5330315f41434f50535f44454641554c545f4c6f; asc PARK463_EMS01_ACOPS_DEFAULT_Lo; (total 33 bytes);6: len 8; hex 800000000002ab31; asc        1;;
PHYSICAL RECORD: n_fields 7; 1-byte offsets; info bits 00: len 4; hex 00002722; asc   '";;1: len 1; hex 00; asc  ;;2: len 4; hex 00000b3a; asc    :;;3: len 22; hex 001400010c0f00c8002d0c0f0100802d860800088000; asc          -     -      ;;4: len 30; hex e6b599e6b19fe6b0b8e5a4aae7a791e68a80e882a1e4bbbde69c89e99990; asc                               ; (total 36 bytes);5: len 30; hex 5041524b3436335f454d5330315f41434f50535f44454641554c545f4c6f; asc PARK463_EMS01_ACOPS_DEFAULT_Lo; (total 33 bytes);6: len 8; hex 800000000002ab31; asc        1;;
DATA TUPLE: 3 fields;0: len 4; hex 0000c2cc; asc     ;;1: len 1; hex 00; asc  ;;2: len 4; hex 00006473; asc   ds;;
PHYSICAL RECORD: n_fields 9; 1-byte offsets; info bits 320: len 4; hex 0000c2cc; asc     ;;1: len 1; hex 00; asc  ;;2: len 4; hex 00006473; asc   ds;;3: len 30; hex 009701010c0f0100802d0c0f0200002d0c0f0100802d830c000580080800; asc          -     -     -        ; (total 34 bytes);4: len 13; hex 5041524b3534375f4350533031; asc PARK547_CPS01;;5: len 9; hex 4543525f4543523030; asc ECR_ECR00;;6: len 8; hex 4454636f6e644131; asc DTcondA1;;7: len 5; hex 99a6c2fb40; asc     @;;8: len 6; hex 0000504d6be5; asc   PMk ;;
2020-07-02T12:01:54.343977+08:00 0 [ERROR] [FATAL] InnoDB: Failed to restore ibuf position.
2020-07-02 12:01:54 0x7fe71903a700  InnoDB: Assertion failure in thread 140630533842688 in file ut0ut.cc line 910
2020-07-02 12:01:54 0x7fe71903a700  InnoDB: Assertion failure in thread 140630533842688 in file ut0ut.cc line 910
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
04:01:54 UTC - mysqld got signal 6 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.key_buffer_size=8388608
read_buffer_size=524288
max_used_connections=85
max_threads=800
thread_count=39
connection_count=38
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1247698 K  bytes of memory
Hope that's ok; if not, decrease some variables in the equation.Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
/usr/local/mysql/bin/mysqld(my_print_stacktrace+0x35)[0xf54815]
/usr/local/mysql/bin/mysqld(handle_fatal_signal+0x4a4)[0x7d21b4]
/lib64/libpthread.so.0(+0xf100)[0x7fe9436bd100]
/lib64/libc.so.6(gsignal+0x37)[0x7fe9420b15f7]
/lib64/libc.so.6(abort+0x148)[0x7fe9420b2ce8]
/usr/local/mysql/bin/mysqld(_Z18ut_print_timestampP8_IO_FILE+0x0)[0x7c157e]
/usr/local/mysql/bin/mysqld(_ZN2ib5fatalD1Ev+0xb3)[0x115c0a3]
/usr/local/mysql/bin/mysqld[0x102f9f1]
/usr/local/mysql/bin/mysqld[0x1034069]
/usr/local/mysql/bin/mysqld(_Z29ibuf_merge_or_delete_for_pageP11buf_block_tRK9page_id_tPK11page_size_tm+0xa6b)[0x1039c1b]
/usr/local/mysql/bin/mysqld(_Z20buf_page_io_completeP10buf_page_tb+0x4c9)[0x1197839]
/usr/local/mysql/bin/mysqld(_Z12fil_aio_waitm+0xfe)[0x120962e]
/usr/local/mysql/bin/mysqld(io_handler_thread+0xd0)[0x110ebd0]
/lib64/libpthread.so.0(+0x7dc5)[0x7fe9436b5dc5]
/lib64/libc.so.6(clone+0x6d)[0x7fe94217221d]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.

MySQL Bug一例-----ibuf cursor restoration fails相关推荐

  1. [MySQL Bug]DDL操作导致备库复制中断

    ----------------- 在MySQL5.1及之前的版本中,如果有未提交的事务trx,当执行DROP/RENAME/ALTER TABLE RENAME操作时,不会被其他事务阻塞住.这会导致 ...

  2. 从MySQL Bug#67718浅谈B+树索引的分裂优化

    从MySQL Bug#67718浅谈B+树索引的分裂优化 1月 6th, 2013 发表评论 | Trackback 问题背景 今天,看到Twitter的DBA团队发布了其最新的MySQL分支:Cha ...

  3. 项目纪实丨MySQL Bug引发客户现场升级失败 万里DBA 6小时攻克难关

    上午10:00 某运营商核心报表平台升级前夕 作为万里数据库的战略合作伙伴,某运营商一直密切关注着国产数据库的发展.其系统中一套基于MySQL8.0.11版本的核心报表平台,近期由于存在安全扫描的漏洞 ...

  4. 设置允许远程连接MySQL (Ubuntu为例)

    设置允许远程连接MySQL (Ubuntu为例) MySQL默认配置是不允许远程连接,为了安全! 然而我需要这么做; 开始改配置; #1 设置用户权限 Type 'help;' or '\h' for ...

  5. 以JavaScript连接mysql数据库为例说明通过ODBC连接数据库的通用方法

    ODBC简介 开放数据库连接(Open Database Connectivity),ODBC是为解决异构数据库间的数据共享而产生的,ODBC 为异构数据库访问提供统一接口,允许应用程序以SQL 为数 ...

  6. 这个 MySQL bug 99% 的人会踩坑!

    这周收到一个 sentry 报警,如下 SQL 查询超时了. select * from order_info where uid = 5837661 order by id asc limit 1 ...

  7. 这个 MySQL bug 让我大开眼界

    这周收到一个 sentry 报警,如下 SQL 查询超时了. select * from order_info where uid = 5837661 order by id asc limit 1 ...

  8. mysql loop循环实例_MySql CURSOR+LOOP循环-使用小实例

    转载自https://blog.csdn.net/starinbrook/article/details/77078126 转载自https://blog.csdn.net/makang456/art ...

  9. php打包mysql_PHP封装MySQL的单例

    //封装MySQL单例 class MySQLDB { private $host;//主机地址 private $port;//端口号 private $user;//用户名 private $pw ...

最新文章

  1. ebs查看服务状态_Oracle EBS - 工单状态
  2. 云计算被误解 但也许并不重要
  3. ubuntu 下的ftp安装及root身份远程配置
  4. [Swift]LeetCode39. 组合总和 | Combination Sum
  5. 【poj2464】树状数组
  6. git 创建tag , 查看tag , 删除tag
  7. 把项目中任意文件夹导出为可执行的jar包
  8. 【渝粤教育】国家开放大学2018年春季 0281-22T色装概论 参考试题
  9. 淘宝搜索算法综述之一:淘宝搜索的特点
  10. 如何脱控极域电子教室
  11. 小学生课外必读书目(推荐)
  12. 笔记本电脑的计算机名称在哪里看,如何查看笔记本电脑的IP地址
  13. Rust入门教程(三):Package、Crate 和 Module
  14. 【时间序列预测算法】——Holt-Winters算法介绍及代码实现
  15. linux系统时钟使用utc,如何设置时间,时区和同步系统时钟使用timedatectl命令
  16. 函数极限的概念及性质
  17. 网红创业潮来袭 网红经济还能红多久?
  18. RAM生成和调用(ISE)
  19. 社保系列7《PSAM卡》
  20. 深度学习以最佳纳米尺度分辨率解决重叠单个分子的3D方向和2D位置,生成蛋白质图片...

热门文章

  1. 恶意软件Emotet卷土重来滥用.LNK文件进行攻击,你只需要一项技术就能有效保护组织
  2. G711(PCM/PCMA/PCMU),G721,G723,G729等 音频编解码
  3. 苹果备份与恢复_手机照片误删了怎么恢复?不得不说的好方法
  4. Python初学笔记4-【嵌套循环】
  5. node.js版本不同,跑不起项目(个人笔记)
  6. 通过爬虫在GEO数据库上获取对应SRR号
  7. 服务降级,限流,削峰
  8. 叮咚~您的MySQL云备份已上线
  9. mysql 授权root帐号可以远程访问,导入sql文件,登录mysql用root帐号,设置密码
  10. SOS1 Ras GEF蛋白高纯度测定