Skip to content

A服务调用B服务,B服务抛异常后A服务数据不回滚。A抛异常B正常回滚,其中xid和branch都正常 #4210

Answered by funky-eyes
Bourne1314 asked this question in Q&A
Discussion options

You must be logged in to vote

b抛异常可能只是打印了异常,并没有抛给A,你可能存在trycatch或者全局异常捕获器的操作导致的

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by funky-eyes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants