[
https://issues.apache.org/jira/browse/SCB-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16357794#comment-16357794
]
ASF GitHub Bot commented on SCB-294:
------------------------------------
liubao68 commented on a change in pull request #552: [SCB-294]when send a
request to a not exist microservice, edge will always try to find instances of
it
URL:
https://github.com/apache/incubator-servicecomb-java-chassis/pull/552#discussion_r167117568
##########
File path:
service-registry/src/main/java/org/apache/servicecomb/serviceregistry/consumer/MicroserviceVersions.java
##########
@@ -76,6 +77,18 @@ public MicroserviceVersions(AppManager appManager, String
appId, String microser
appManager.getEventBus().register(this);
}
+ public void updateLastAccessTime() {
+ this.lastAccessedTime = System.currentTimeMillis();
+ }
+
+ public boolean isValidated() {
Review comment:
when microserivce not exists or for the first time some unexpected sc
problems happens
----------------------------------------------------------------
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]
> when send a request to a not exist microservice, edge will always try to find
> instances of it.
> ----------------------------------------------------------------------------------------------
>
> Key: SCB-294
> URL: https://issues.apache.org/jira/browse/SCB-294
> Project: Apache ServiceComb
> Issue Type: Bug
> Components: Java-Chassis
> Reporter: wujimin
> Assignee: liubao
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)