incubator-seata icon indicating copy to clipboard operation
incubator-seata copied to clipboard

增加分支事务感知全局事务结果

Open llm163520 opened this issue 1 year ago • 4 comments

Why you need it?

Is your feature request related to a problem? Please describe in details #2500 分支事务感知全局事务结果

How it could be?

A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it. 业务场景:如成功后发送消息

Other related information

Add any other context or screenshots about the feature request here. 如果TransactionHook能支持分支事务就更好了

llm163520 avatar Mar 08 '23 14:03 llm163520

Only the second phase of the branch transaction can perceive the resolution result of the global transaction. So the feasible solution is to add hooks in the second phase of the branch transaction.

slievrly avatar Mar 09 '23 07:03 slievrly

咱们有相关的示例可以提供下么,thanks

llm163520 avatar Mar 09 '23 07:03 llm163520

有相同的需求,在分支事务中想等全局事务提交后再发MQ

laurentwu avatar Jul 31 '23 04:07 laurentwu

有相同的需求,在分支事务中想等全局事务提交后再发MQ

大佬最后咋解决的啊 @laurentwu

firmianaQ avatar Apr 11 '24 06:04 firmianaQ