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

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

wujimin commented on a change in pull request #889: [SCB-888] avoid switch 
SCBEngine status to up in the wrong time
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/889#discussion_r215165245
 
 

 ##########
 File path: core/src/main/java/org/apache/servicecomb/core/SCBEngine.java
 ##########
 @@ -192,16 +198,17 @@ public synchronized void init() {
     if (SCBStatus.DOWN.equals(status)) {
       try {
         doInit();
-        status = SCBStatus.UP;
-      } catch (Exception e) {
+        waitStatusUp();
 
 Review comment:
   when got AFTER_REGISTRY event.

----------------------------------------------------------------
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]


> switch SCBEngine status to up in the wrong time
> -----------------------------------------------
>
>                 Key: SCB-888
>                 URL: https://issues.apache.org/jira/browse/SCB-888
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          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