Sirius-LiXiaoQi commented on issue #16397:
URL: https://github.com/apache/dubbo/issues/16397#issuecomment-5115336572

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

Reply via email to