willard-kali commented on issue #1443: ServiceCenter中微服务instance信息丢失
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/1443#issuecomment-562118285
 
 
   > 你贴出来的这行日志是 
[ServiceCombLoadBalancerStats](https://github.com/apache/servicecomb-java-chassis/blob/master/handlers/handler-loadbalance/src/main/java/org/apache/servicecomb/loadbalance/ServiceCombLoadBalancerStats.java)
 去除实例状态统计信息的,跟B服务实例下线没有关系。
   > 建议找个测试环境看看能否复现出来。需要关注一下整个流程中B服务的实例的日志,B的实例是在注册成功多久之后掉线的,jstack 
看看B的进程里面有没有线程阻塞。
   > 如果你能给出一个最小问题复现demo的话,也可以贴出来,大家一起看看 : )
   1. 这是真实环境出现的问题,概率极小,暂时无法复现。
   2. 
启动时间在10月份,最早的servicecenter日志只到11月底,从现有的servicecenter日志没有找到微服务B的CREATE或者DELETE记录(其他微服务的倒是有一些,应该是微服务重启造成的,DELETE和CREATE会成对出现)。
   3. 无法确定B的实例是在注册多久后掉线的。
   
   请问下按照servicecomb1.2.1版本的servicecenter逻辑,instance 
DELETE和CREATE一般会有哪些场景会出现?如:微服务重启。
   
   附:搜到的servicecenter中的其他微服务日志类似如下:
   
   > INFO    event/instance_event_handler.go:79      caught [DELETE] 
service[xxxx56b78c4fa5978ff4424d914183f3ecb00xxx][/appid/servicename/version] 
instance[xxxx6feaf66911e9ad6604885ffa1a9b] event, endpoints []
   INFO    event/instance_event_handler.go:79      caught [CREATE] 
service[xxxx56b78c4fa5978ff4424d914183f3ecb00xxx][/appid/servicename/version] 
instance[yyyy697915b211eaad6604885ffa1a9b] event, endpoints []
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to