-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
4.27.0 introduced a change that prevents the event loop from being cleaned up properly #1362
Comments
confirming, it opens a bunch of new connections that are never cleaned up (see FailoverDetector) |
Hey @evanlucas, thanks for the reproducible repo! Calling |
Thanks for jumping on this and getting a non-breaking release published! I really appreciate y'all's time! Did y'all want to leave this issue open? or is it good to close? |
Hey @evanlucas, let's leave this open as the root issue hasn't been fixed. |
Any progress on this one. It would be fantastic to get this one resolved |
In a Kubernetes cluster, when one of the Sentinels restarts and gets a new IP address, client starts throwing errors like this one:
Where Issue disappears with |
AFAICT |
There's definitely something fishy going on when |
https://github.com/evanlucas/ioredis-sentinel-hang is how I was able to reproduce it. We rely on calling
quit
in all of our jobs/workers/services and if the event loop is not cleaned up, it prevents node from cleanly exiting the process. It looks like it is the new failover detection mechanism that was added. I'm seeing additional TCP sockets being opened, but never closed.This only seems to occur when using redis sentinel.
Thanks!
The text was updated successfully, but these errors were encountered: