[ 
https://issues.apache.org/jira/browse/SCB-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574411#comment-16574411
 ] 

ASF GitHub Bot commented on SCB-825:
------------------------------------

WillemJiang closed pull request #245: [SCB-825] fix 
SagaStartAnnotationProcessor class  bug
URL: https://github.com/apache/incubator-servicecomb-saga/pull/245
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/omega/omega-transaction/src/main/java/org/apache/servicecomb/saga/omega/transaction/SagaStartAnnotationProcessor.java
 
b/omega/omega-transaction/src/main/java/org/apache/servicecomb/saga/omega/transaction/SagaStartAnnotationProcessor.java
index 486f28cc..b264096d 100644
--- 
a/omega/omega-transaction/src/main/java/org/apache/servicecomb/saga/omega/transaction/SagaStartAnnotationProcessor.java
+++ 
b/omega/omega-transaction/src/main/java/org/apache/servicecomb/saga/omega/transaction/SagaStartAnnotationProcessor.java
@@ -52,6 +52,6 @@ public void postIntercept(String parentTxId, String 
compensationMethod) {
   @Override
   public void onError(String parentTxId, String compensationMethod, Throwable 
throwable) {
     String globalTxId = omegaContext.globalTxId();
-    sender.send(new TxAbortedEvent(globalTxId, globalTxId, null, 
compensationMethod, throwable));
+    sender.send(new TxAbortedEvent(globalTxId, omegaContext.localTxId(), null, 
compensationMethod, throwable));
   }
 }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> support standalone tomcat deploy
> --------------------------------
>
>                 Key: SCB-825
>                 URL: https://issues.apache.org/jira/browse/SCB-825
>             Project: Apache ServiceComb
>          Issue Type: Sub-task
>          Components: Java-Chassis
>            Reporter: wujimin
>            Assignee: wujimin
>            Priority: Major
>             Fix For: java-chassis-1.1.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to