-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redeploying an Eureka server does not stop all threads and timers #1207
Comments
Thanks for the report @stovocor, this sounds reasonable and if anyone's interested in addressing this we can discuss the fix here. Considering that we never redeploy in place and the workaround is simple (server restart), we will not be fixing this ourselves. |
Which version to use for this fix? |
Releases -> Search for the commit msg / hash you're interested in.
No idea what these strings are, they are not Eureka versions. |
Those are spring cloud release trains. Hoxton.SR5 is the latest that you shsould be using in production. https://search.maven.org/artifact/org.springframework.cloud/spring-cloud-netflix-dependencies/2.2.3.RELEASE/pom |
Our web application uses spring-cloud-netflix-eureka-server in version 2.1.1.RELEASE. When it is redeployed without restarting the application server, we get messages like
and
The latter is shown for
ReplicaAwareInstanceRegistry - RenewalThresholdUpdater
Eureka-JerseyClient-Conn-Cleaner
Eureka-CacheFillTimer
For example, the CacheFillTimer is started in
ResponseCacheImpl
as a daemon but never stopped. This results in errors likeThese issues can cause resource problems on the application server. It would be great if Eureka stops all timers and threads on shutting the application for redeployment.
The text was updated successfully, but these errors were encountered: