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 issue #1140 - reconnect on ConnectionError while executing command #1175

Closed
wants to merge 1 commit into from

Conversation

ziollek
Copy link

@ziollek ziollek commented Jun 19, 2019

Description of change

Fix issue #1140 - which was caused by mistake made in commit: 7860995
where logic was totally changed by moving parenthesis. After mentioned change client dont reconnect to redis server if any ConnectionError was raised while command was executing - this PR reverts this bug.

@andymccurdy
Copy link
Contributor

We don't want to blindly reconnect in the event of a ConnectionError. Doing so can lead to data duplication, data loss or data corruption.

We never wanted to automatically reconnect on ConnectionError. Prior to version 3.1.0, there was a bug that did so however. 3.1.0+ fixed that issue in the commit you cited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants