mysql5.7异常崩溃后binlog的恢复过程

/*异常恢复时对undo日志的修改*/
#0  trx_write_serialisation_history (trx=0x7fffd78cf480, mtr=0x7fffffffc6c0) at storage/innobase/trx/trx0trx.cc:1583
#1  0x0000000001af5bbb in trx_commit_low (trx=0x7fffd78cf480, mtr=0x7fffffffc6c0) at storage/innobase/trx/trx0trx.cc:2143
#2  0x0000000001af5d2f in trx_commit (trx=0x7fffd78cf480) at storage/innobase/trx/trx0trx.cc:2213
#3  0x0000000001af6436 in trx_commit_for_mysql (trx=0x7fffd78cf480) at storage/innobase/trx/trx0trx.cc:2432
#4  0x00000000018cc992 in innobase_commit_low (trx=0x7fffd78cf480) at storage/innobase/handler/ha_innodb.cc:4296
#5  0x00000000018e4e6b in innobase_commit_by_xid (hton=0x2dd1be0, xid=0x7fff71cfd030) at storage/innobase/handler/ha_innodb.cc:17266
#6  0x00000000016549ca in xarecover_handlerton (unused=0x0, plugin=0x7fffffffcfd8, arg=0x7fffffffd090) at sql/xa.cc:126
#7  0x0000000001577d7c in plugin_foreach_with_mask (thd=0x0, funcs=0x7fffffffd040, type=1, state_mask=4294967287, arg=0x7fffffffd090) at sql/sql_plugin.cc:2524
#8  0x0000000001577e24 in plugin_foreach_with_mask (thd=0x0, func=0x1654732 <xarecover_handlerton(THD*, plugin_ref, void*)>, type=1, state_mask=8, arg=0x7fffffffd090) at sql/sql_plugin.cc:2539
#9  0x0000000001654cfe in ha_recover (commit_list=0x7fffffffd160) at sql/xa.cc:202
#10 0x00000000017f30e3 in MYSQL_BIN_LOG::recover (this=0x2d231a0 <mysql_bin_log>, log=0x7fffffffd2a0, fdle=0x2f21d00, valid_pos=0x7fffffffd7d0) at sql/binlog.cc:10071
#11 0x00000000017ef729 in MYSQL_BIN_LOG::open_binlog (this=0x2d231a0 <mysql_bin_log>, opt_name=0x2e9fe20 "mysql-bin") at sql/binlog.cc:8540
#12 0x00000000017f93cb in MYSQL_BIN_LOG::open (this=0x2d231a0 <mysql_bin_log>, opt_name=0x2e9fe20 "mysql-bin") at sql/binlog.h:663
#13 0x0000000000eb6023 in init_server_components () at sql/mysqld.cc:4232
#14 0x0000000000eb6f7b in mysqld_main (argc=99, argv=0x2dcfef8) at sql/mysqld.cc:4759
#15 0x0000000000eae8d7 in main (argc=3, argv=0x7fffffffe378) at sql/main.cc:32
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值