wboykron
wboykron
分布式框架使用的Seata的AT模式,已经尝试使用spring boot自带@Async的异步调用,并不会导致事务传递,也就不会出现错误Transaction doesn't exist,那就说明其实跟分布式事务本身是没关,跟调用框架的异步调用实现方式有关
你的问题也是我想问的,本来异步调用,肯定就是因为耗时所以才使用的,调用方异步调用的以后,方法已经执行完成了,事务必然也完成了。被调用方(provider )因为耗时还在处于未完成的子事务上下文中,那就有矛盾了,异步调用我就是希望不管provider执行成功还是失败,调用方都不去管执行情况,也不管返回结果,但是现在dubbo异步调用,还把事务上下文传递过去,是不是有悖异步调用的初衷!
> 适配到 Android 14 , https://github.com/mayzs/paho.mqtt.android 引入出现这个错误Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. > Could not find :unspecified:. Required...
> > > 适配到 Android 14 , https://github.com/mayzs/paho.mqtt.android > > > > > > 引入出现这个错误Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > > > Could not resolve all task...
> > > > > 适配到 Android 14 , https://github.com/mayzs/paho.mqtt.android > > > > > > > > > > > > 引入出现这个错误Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'....