servicecomb-pack icon indicating copy to clipboard operation
servicecomb-pack copied to clipboard

Apache ServiceComb Pack is an eventually data consistency solution for micro-service applications. ServiceComb Pack currently provides TCC and Saga distributed transaction co-ordination solutions by u...

Results 86 servicecomb-pack issues
Sort by recently updated
recently updated
newest added

代码: A服务组合调用B和C服务: ![image](https://user-images.githubusercontent.com/66306387/168228972-2c50c160-e9a9-4786-aa7e-4267f059f3c0.png) B服务: ![image](https://user-images.githubusercontent.com/66306387/168229012-7989ec52-b291-4689-97db-75ff02786c80.png) C服务: ![image](https://user-images.githubusercontent.com/66306387/168229056-a9cd06b5-16f8-4479-93bd-f67aa56f6d81.png) 表数据: ![image](https://user-images.githubusercontent.com/66306387/168229103-93531ded-d787-4bae-a05d-2ba1c1688148.png)

补偿事务是怎么执行流程的?哪个类在执行?

![image](https://user-images.githubusercontent.com/66306387/157793466-0c06c16e-e8da-440a-8bca-0a9df9a0fbd8.png) ![image](https://user-images.githubusercontent.com/66306387/157793713-1a6d98c5-07dc-4293-8b78-4227514f7d72.png) 请问这个是啥错,断点去@sagaStart的切面看,是有globalTxId的,报这个错咋回事? 环境:springcloud+fegin+eureka 具体报错信息: `com.code.common.utils.assertion.IllegalLogicException: Cannot find the globalTxId from OmegaContext. Please using @SagaStart to start a global transaction. at com.code.common.utils.assertion.Assert.fail(Assert.java:388) at com.fw.tenon.feign.HttpRequestProxy.getResult(HttpRequestProxy.java:72) at com.fw.tenon.feign.HttpRequestProxy.invoke(HttpRequestProxy.java:60) at com.sun.proxy.$Proxy236.updateGoodRestFailed(Unknown Source) at...

转出服务的confirm方法: ` @Transactional public UserAccount confirm(TransferEntity entity){ UserAccount userAccount = accountMapper.selectByIdForUpdate(entity.getId()); if (userAccount.getAmount().compareTo(new BigDecimal(entity.getMoney().toString())) == -1){ // ******************************************* // 这里抛出异常了,全局事务无法感知,prepare阶段是可以的,所以也无法调到后面的cancel,造成成功假象 // ******************************************* throw new IllegalArgumentException("Transfer failed,not enough money"); } userAccount.setAmount(userAccount.getAmount().subtract(new...

用jmeter本地压力测试,发现一台服务器报错: `Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7f4be458] Transaction synchronization committing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7f4be458] Transaction synchronization deregistering SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7f4be458] Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7f4be458] 2022-02-25 14:13:32.420 ERROR 11273 --- [ault-executor-1] o.a.s.p.o.c.g.c.ReconnectStreamObserver : Failed to...

在测试环境,项目部署时报错 Error create bean with name entityManager ... Conflicting persistence unit definitions for name 'alpha-server'

看设计图,akka模式下,事务条目信息是有追加到redis中的,但是实现上并没有看到,只有看到事务结束后才把数据写入ES

查看源码 有特性 CompensableAttribute 用来标识回退 跟当前执行方法的特性, 并上传至 saga协调器 但是我升级到.net core 5.0 后 此特性一直不执行 希望各位能支持一下, 我司考虑集成到生产环境。 [Compensable(nameof(CancelTestSaga))] public void TestSaga(long Id) { throw new ArgumentException("test CancelTestSaga serivice error"); } void CancelTestSaga(long Id)...