laywin commented on issue #14254: URL: https://github.com/apache/dubbo/issues/14254#issuecomment-2492749573
对比了一下,实际各个版本都存在都有这个问题,dubbo 很难保证 consumer端的优雅停机,因为 shutdown 和 调用是并发的. consumer 端shutdown 过程中会给一个标志位来表示invoker已经被回收了,这时候如果存在请求调用就会报上面那个错. 而 provider 端的shutdown 逻辑就不一样,会通过发送readonly 以及 unregistry 来停止接受新的请求,通过超时等待尽量让存在的请求处理完. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
