Open
Conversation
1.关闭分布式事务会在当前出现问题的语句展示报错信息 2.commit的时候默认回滚事务 3.出现分布式事务问题时候返回有问题的语句方便定位问题
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.通过日志打印发现buffer重复申请,使用mat工具分析内存 发现有多个线程持有了同一个buffer
可能进行了重复回收导致buffer重复申请
2.修改连接是否为closed状态 必须要等到释放所持有的buffer才可以设置问题是isClosed的标志位
3.cleanup里面清理了buffer 然后定时任务frontendCheck里面也是更具isClosed清理了buffer导致重复回收