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 2019/12/06 01:19:41 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1443: ServiceCenter中微服务instance信息丢失

liubao68 commented on issue #1443: ServiceCenter中微服务instance信息丢失
URL: https://github.com/apache/servicecomb-java-chassis/issues/1443#issuecomment-562390358
 
 
   根据问题描述, 看起来是B实例已经在服务中心下线,但是A缓存里面还有B信息。 这里有个疑问, 
   ```
   一段时间后,微服务B的instance信息突然就查不到了,但是进程一直在。
   此时,微服务A还能通过cse://B/xxx的方式调用接口成功。
   但是,微服务A重启过后,此调用方式调用失败,提示找不到B的instance地址。
   ```
   这里说的A能够调用成功大概持续了多久?如果超过上一条回复的心跳时间(一般是2分多钟), 问题有可能是A服务本身无法连接服务中心发现相关服务实例了(如果发现,A会移除缓存,错误应该是没有实例可用)。 
   
   看起来总体上各个现象有矛盾的地方。有可能某些地方有错漏。 
   
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services