[
https://issues.apache.org/jira/browse/SCB-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16338595#comment-16338595
]
ASF GitHub Bot commented on SCB-297:
------------------------------------
wujimin commented on a change in pull request #527: [SCB-297] The local cache
is not update when the server reboots at th…
URL:
https://github.com/apache/incubator-servicecomb-java-chassis/pull/527#discussion_r163539528
##########
File path:
service-registry/src/main/java/org/apache/servicecomb/serviceregistry/consumer/MicroserviceVersions.java
##########
@@ -195,11 +196,13 @@ protected MicroserviceVersionRule
createAndInitMicroserviceVersionRule(String st
@Subscribe
public void onMicroserviceInstanceChanged(MicroserviceInstanceChangedEvent
changedEvent) {
- if (!appId.equals(changedEvent.getKey().getAppId()) ||
- !microserviceName.equals(changedEvent.getKey().getServiceName())) {
+ boolean isEventAccept = appId.equals(changedEvent.getKey().getAppId()) &&
Review comment:
sorry, logic is right.
but the express is not good.
----------------------------------------------------------------
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]
> the local cache is not updated when the server reboots at the situation of
> accross application
> ------------------------------------------------------------------------------------------------
>
> Key: SCB-297
> URL: https://issues.apache.org/jira/browse/SCB-297
> Project: Apache ServiceComb
> Issue Type: Bug
> Components: Java-Chassis
> Reporter: laijianbin
> Assignee: laijianbin
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)