[
https://issues.apache.org/jira/browse/SCB-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
YaoHaishi resolved SCB-1149.
----------------------------
Fix Version/s: java-chassis-1.2.0
Resolution: Fixed
> Instance isolation lastVisitTime improve
> ----------------------------------------
>
> Key: SCB-1149
> URL: https://issues.apache.org/jira/browse/SCB-1149
> Project: Apache ServiceComb
> Issue Type: Improvement
> Components: Java-Chassis
> Reporter: jeho0815
> Assignee: jeho0815
> Priority: Major
> Fix For: java-chassis-1.2.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> if the vm shutdown, the response is very low, so the instance will be
> isolated, but the single test use the lastVisitTime, lastVisitTime will be
> update after the response retured.
> if (serverStats.isIsolated()
> && (System.currentTimeMillis() - serverStats.getLastVisitTime()) >
> settings.singleTestTime) {
> during the time(may be the client request timeout, 30s), the later requests
> also will go through the single test logic which is not what we expected
--
This message was sent by Atlassian Jira
(v8.3.2#803003)