Skip to content
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

解决Got packet 1156包乱序的错误 #14

Open
wants to merge 2 commits into
base: 1.0-beta
Choose a base branch
from

Conversation

K-Darker
Copy link

@K-Darker K-Darker commented May 1, 2019

1.通过日志打印发现buffer重复申请,使用mat工具分析内存 发现有多个线程持有了同一个buffer
可能进行了重复回收导致buffer重复申请
2.修改连接是否为closed状态 必须要等到释放所持有的buffer才可以设置问题是isClosed的标志位
3.cleanup里面清理了buffer 然后定时任务frontendCheck里面也是更具isClosed清理了buffer导致重复回收

1.关闭分布式事务会在当前出现问题的语句展示报错信息
2.commit的时候默认回滚事务
3.出现分布式事务问题时候返回有问题的语句方便定位问题
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant