-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持MySQL5.7的XA binlog事件 #626
Comments
mysql xa的binlog提交格式,会在prepare时就记录到binlog并且对外可见,而后续会对xa继续进行commit或者rollback,如果执行rollback时还需要执行回滚对应的SQL(xa rollback没有记录对应的逆向binlog,需要在内存里暂缓存xa prepare的变更) |
http://mysql.taobao.org/monthly/2017/11/06/, 一片比较不错介绍MySQL XA |
上面地址404... |
上面地址去掉后面的逗号就能看了 http://mysql.taobao.org/monthly/2017/11/06/ |
输出格式类似:
打印xa信息:
|
支持一下MySQL 5.7之后的XA能力:https://mysqlserverteam.com/improvements-to-xa-support-in-mysql-5-7/
`
TRANSACTION_CONTEXT_EVENT= 36,
VIEW_CHANGE_EVENT= 37,
/* Prepared XA transaction terminal event similar to Xid */
XA_PREPARE_LOG_EVENT= 38,
`
The text was updated successfully, but these errors were encountered: