Merged
Conversation
应用初始化时若无法连接txmanager 将无法启动,但服务有可能已注册,有很大风险出现服务不可用-改为异步初始化 当 txmanager 连接失败时,退化到无分布式事务,原来是会抛异常
* 标示本服务是否是只读
* 若为true : 不会加入事务组; Connection 不会被 Wrap
* 在本服务无DB操作或仅有查询时请配置 true 将提高性能
* 若应用都没有DB配置,此配置无意义不用设值
Contributor
|
txc 与 优化 |
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.
修改切面order值。为其他切面预留切入点。
将分布式事务框架依赖弱化。 提高容错性,txmanager 异常 或 redis异常(还没做redis异常检测)时,系统退化到无分布式事务状态,而不是服务不可用。
新增了分布式事务处理模式:类似undolog 反SQL模式。命名为TXC模式