linkedin / rest.li

Rest.li is a REST+JSON framework for building robust, scalable service architectures using dynamic discovery and simple asynchronous APIs.
rest.li
Other
2.51k stars 546 forks source link

Catch exceptions when connection state change event is received after ZK connection shutdown #839

Closed bohhyang closed 2 years ago

bohhyang commented 2 years ago

As titled, we used to catch the exception and log a debug message for async-shutdown only. But it was reported for regular shutdown as well. It's safe to catch the exception instead of throwing for all shutdown.