zhengyangyong commented on issue #693: [SCB-548] support gracefully shutdown
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/693#issuecomment-388278489
 
 
   I had used a Semaphore in order to sync all invocation had finished.now 
gracefully shutdown had fixed below :
   
   1. Unregister microservice instance from Service Center and close vertx
   2. Wait all invocation finished (delete timeout mechanism in ShutdownHandler)
   3. Notify all component do clean works via Event
   4. Stop vertx to prevent blocking exit

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to