ASF GitHub Bot commented on SCB-224:

eric-lee-ltk commented on a change in pull request #138: [WIP] SCB-224 retry 
sub-transaction on failure

 File path: 
 @@ -0,0 +1,80 @@
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicecomb.saga.omega.transaction;
+import java.lang.invoke.MethodHandles;
+import java.lang.reflect.Method;
+import javax.transaction.InvalidTransactionException;
+import org.apache.servicecomb.saga.omega.context.OmegaContext;
+import org.apache.servicecomb.saga.omega.transaction.annotations.Compensable;
+import org.aspectj.lang.ProceedingJoinPoint;
+import org.aspectj.lang.reflect.MethodSignature;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+public class DefaultRecovery implements RecoveryPolicy {
 Review comment:
   Not exactly. As the compensation of backward recovery is handled 
asynchronously, this place is only used to execute bussiness logic once.

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:

> [pack] retry sub-transaction on failure
> ---------------------------------------
>                 Key: SCB-224
>                 URL: https://issues.apache.org/jira/browse/SCB-224
>             Project: Apache ServiceComb
>          Issue Type: New Feature
>          Components: Saga
>            Reporter: Yin Xiang
>            Assignee: Eric Lee
>            Priority: Major
>             Fix For: saga-0.2.0
> as a user, i want to retry transaction in my service, so that it can always 
> be done eventually.

This message was sent by Atlassian JIRA

Reply via email to