Jack-Jiang opened a new issue, #4475:
URL: https://github.com/apache/servicecomb-java-chassis/issues/4475

   这个导致优雅停的时候,shutdownhook时,无法外出,内存中的任务无法外出rpc导致呼损
   优雅停期间应该是关闭入口,但是需要处理完成已经在内存中的任务,这些任务也有调用其他接口的诉求。
   之前是优雅是没问题的按照这种设计思想。 现在看代码是不兼容的修改导致:
   
![image](https://github.com/user-attachments/assets/7b68e600-e892-487d-8cea-099745d31e77)
   
   优雅期间接口调用报错:
   error: java.lang.NullPointerException[N][N]  at 
org.apache.servicecomb.serviceregistry.RegistryUtils.getMicroservice(RegistryUtils.java:166)[N][N]
   at 
org.apache.servicecomb.serviceregistry.ServiceCenterRegistration.getMicroservice(ServiceCenterRegistration.java:67)[N][N]
    at 
org.apache.servicecomb.registry.RegistrationManager.getMicroservice(RegistrationManager.java:99)[N][N]
       at 
org.apache.servicecomb.core.invocation.InvocationFactory.setSrcMicroservice(InvocationFactory.java:48)[N][N]
 at 
org.apache.servicecomb.provider.pojo.PojoInvocation.<init>(PojoInvocation.java:34)[N][N]
     at 
org.apache.servicecomb.provider.pojo.PojoInvocationCreator.create(PojoInvocationCreator.java:29)[N][N]
       at 
org.apache.servicecomb.provider.pojo.HandlerInvocationCaller.call(HandlerInvocationCaller.java:31)[N][N]
     at 


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to