312527814
312527814
事物发起方(A) ,参与方(D) 如果D的事物中有删除数据的语句,在A 的事物中调用D接口,返回之后A中出现了异常,此时回滚,D中的事物回滚会失败。 ` /* 事物A */ @Override @TxcTransaction(propagation = DTXPropagation.SUPPORTS) @Transactional public String rpc(String value) { // 调用事物D String dResp = dDemoClient.rpc(value); // 手动异常, 回滚 int i =...
> 那遇到这种情况,咋弄? 在 2021-08-02 20:10:59,"312527814" ***@***.***> 写道: 事物发起方(A) ,参与方(D) 如果D的事物中有删除数据的语句,在A 的事物中调用D接口,返回之后A中出现了异常,此时回滚,D中的事物回滚会失败。 /* 事物A */ @override @LcnTransaction(propagation= DTXPropagation.REQUIRED) @transactional public String execute(String value) { /* 事物B */ // ServiceD String dResp...
用的是1.1.2.3 也有这个问题,应该怎么解决?
首先要看你的版本,应该是从3.x版本之后, 1 对于Netflix来说所需要引用依赖 org.springframework.cloud spring-cloud-starter-netflix-hystrix 2 对于alibaba sentinel来说所需要引用依赖 com.alibaba.cloud spring-cloud-starter-alibaba-sentinel 3 如果不想引入依赖需要自己写断路器 @Component public class MyCircuitBreakerFactory extends CircuitBreakerFactory{ @Override public CircuitBreaker create(String id) { return new MyCircuitBreaker(); } @Override protected...
I hope the identityServer4 can support customize the route path extension feature in future 1. in old system we can't change the original contracts path 2. it good for data...
把杀毒软件给关了,我的就是360给拦截了