Lei Zhang
Lei Zhang
This bug same as the JIRA issue [SCB-2004](https://issues.apache.org/jira/browse/SCB-2004) and has been fixed in #667
> > This bug same as the JIRA issue [SCB-2004](https://issues.apache.org/jira/browse/SCB-2004) and has been fixed in #667 > > sincerely Thanks for the reply. > @coolbeevip But sorry, I didn’t figure...
> > > > This bug same as the JIRA issue [SCB-2004](https://issues.apache.org/jira/browse/SCB-2004) and has been fixed in #667 > > > > > > > > > sincerely Thanks for...
感谢你的报告 我不太确定你说的补偿操作异常后omega只打印日志是什么,另外我看了一下源代码中 https://github.com/apache/servicecomb-pack/blob/a89c7cd8b416c9b281fdbe28644cb6b7e2e78f91/omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/CompensationMessageHandler.java 中如果补偿方法抛出异常是不会发送TxCompensatedEvent事件的。 你能提供更详细的信息吗?例如: 1. 你使用的版本 2. Alpha部署的模式(基于DB还是状态机,或者启动参数) 3. 你是如何使用Saga注解的,服务之间方法的调用顺序,例如: 三个服务 A,B,C A.m1->B.m1 A.m1->C.m1(此方法失败) 4. 这笔全局事务在 TxEvent 表中的数据(如果是基于DB模式的话)或者日志堆栈(业务服务和Alpha的)
Thank you for the issue, I can reproduce it and add JIRA tracker https://issues.apache.org/jira/browse/SCB-1577
> alpha 基於 db 或 狀態機 部屬,這兩個差異在哪? 状态机模式底层基于Akka,在集群部署的时候可以基于服务分片获取更好的性能,另外在事务终止后事务的数据会存储到ES中,同时提供了一个新的UI可以进行查看。 > alpha 要如何配置為狀態機模式 ? 0.5.0版本的时候需要在alpha和omega启动的时候都增加 `alpha.feature.akka.enabled=true` 参数,当前主干的 0.6.0版本则不需要在 omega端加这个参数,具体细节你可以看 https://github.com/apache/servicecomb-pack/blob/master/docs/fsm/fsm_manual.md > 狀態機模式是否就不需要 db 了 ? 目前只提供saga的状态机模式选择,tcc还是基于db的,所以还是需要db。
需要提供一下应用的 pom 文件,看看都引入了哪些 pack 依赖
> I'm not sure. Service A call B,C,D. and I stop service D for cancel at service C but error message show > Caused by: com.esotericsoftware.kryo.KryoException: Unable to find class:...
Open source accounts, as always, will be completely free under travis-ci.com, Maybe we can gradually move to travis-ci.com https://docs.travis-ci.com/user/migrate/open-source-on-travis-ci-com/
I created a JIRA https://issues.apache.org/jira/browse/SCB-2199 for that