You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/06/23 08:07:03 UTC

[GitHub] [servicecomb-pack] WillemJiang commented on a change in pull request #667: [SCB-2004] Fix compensation retry failure during business service startup

WillemJiang commented on a change in pull request #667:
URL: https://github.com/apache/servicecomb-pack/pull/667#discussion_r444039232



##########
File path: alpha/alpha-core/src/main/java/org/apache/servicecomb/pack/alpha/core/fsm/event/internal/ComponsitedCheckEvent.java
##########
@@ -17,10 +17,17 @@
 
 package org.apache.servicecomb.pack.alpha.core.fsm.event.internal;
 
+import org.apache.servicecomb.pack.alpha.core.fsm.TxState;
 import org.apache.servicecomb.pack.alpha.core.fsm.event.base.TxEvent;
 
 public class ComponsitedCheckEvent extends TxEvent {
 
+  private TxState preState;
+
+  public TxState getPreState() {

Review comment:
       This states is used store the state of componsited command execution state. 
   It's better to update the name to reflect the meaning of this variable.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org