LI123456mo commented on issue #16397: URL: https://github.com/apache/dubbo/issues/16397#issuecomment-5115531306
> Without framework support, the recommended engineering workaround is to insert two steps before sending SIGTERM for shutdown: **(step 1) offlineApp** — actively deregister the service from the registry; **(step 2) a grace-period wait** — eg: sleep(5000); **(step 3) SIGTERM**. Together these let the provider drain outstanding requests, eliminating the race condition in which pathResolver.resolve fails with NOT_FOUND while resolving the Invoker. This is graet. I have submmited a PR that fixes the error the consumer getm (instead of "UNIMPLEMENTED" , it throws "UNAVAILABLE") have a look at it -- 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]
