liubao68 commented on issue #2381:
URL:
https://github.com/apache/servicecomb-java-chassis/issues/2381#issuecomment-841081231
AbstractRouterDistributor
```
public void initLatestVersion(String serviceName, List<T> list) {
if
(RouterRuleCache.getServiceInfoCacheMap().get(serviceName).getLatestVersionTag()
!= null) {
return;
}
... ....
TagItem tagitem = new TagItem(latestVersion);
RouterRuleCache.getServiceInfoCacheMap().get(serviceName).setLatestVersionTag(tagitem);
}
```
this logic is not correct
1. list is old version, old version is cached
2. list is new versioin, will not update latest
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]