Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Sentinel discovery fix #380

Merged
merged 2 commits into from
Feb 15, 2018
Merged

Sentinel discovery fix #380

merged 2 commits into from
Feb 15, 2018

Conversation

popravich
Copy link
Contributor

Fix issue with Sentinel client and ConnectionsPool causing endless reconnect on service discovery.

ConnectionsPool._fill_free was always calling ManagedPool._create_new_connection with _NON_DISCOVERED address marker causing ManagedPool to clear all currently established connections.
So setting minsize value greater then 1 was putting _fill_free in endless loop.

@popravich popravich added the bug label Feb 15, 2018
@popravich popravich merged commit 1bcde41 into master Feb 15, 2018
@popravich popravich deleted the sentinel_discovery_fix branch February 15, 2018 21:33
@popravich popravich added this to the v1.1 milestone Feb 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant