Skip to content
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

fix(SENTINEL): disable active failover detection by default #1363

Merged
merged 1 commit into from
Jun 5, 2021

Conversation

luin
Copy link
Collaborator

@luin luin commented Jun 5, 2021

There is an issue related to connections used for active failover detection for sentinels not being cleaned up properly: #1362. Given that not many users realize the usefulness of this feature, and the feature does create more connections, we disable it by default and allow users to enable it with the optionfailoverDetector.

@luin luin requested a review from AVVS June 5, 2021 08:36
@AVVS
Copy link
Contributor

AVVS commented Jun 5, 2021

LGTM.

Ideally somebody would later tackle graceful shutdown by implementing ‘close’ command where quit is sent and failover detector is also closed

@luin luin merged commit f02e383 into master Jun 5, 2021
@luin luin deleted the failover-sentinel-options branch June 5, 2021 17:40
ioredis-robot pushed a commit that referenced this pull request Jun 5, 2021
## [4.27.5](v4.27.4...v4.27.5) (2021-06-05)

### Bug Fixes

* **SENTINEL:** actively failover detection under an option ([#1363](#1363)) ([f02e383](f02e383))
@ioredis-robot
Copy link
Collaborator

🎉 This PR is included in version 4.27.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

janus-dev87 added a commit to janus-dev87/ioredis-work that referenced this pull request Mar 1, 2024
## [4.27.5](redis/ioredis@v4.27.4...v4.27.5) (2021-06-05)

### Bug Fixes

* **SENTINEL:** actively failover detection under an option ([#1363](redis/ioredis#1363)) ([f02e383](redis/ioredis@f02e383))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants