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 2018/09/05 07:43:06 UTC
[GitHub] wujimin commented on a change in pull request #889: [SCB-888] avoid
switch SCBEngine status to up in the wrong time
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:
users@infra.apache.org
With regards,
Apache Git Services