-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Async version of Connection does not use retry mechanism #2211
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
Comments
Still happening in 4.3.4 File "...python3.9/site-packages/redis/asyncio/retry.py", line 59, in call_with_retry
return await do()
File "...python3.9/site-packages/redis/asyncio/client.py", line 462, in _send_command_parse_response
await conn.send_command(*args)
File "...python3.9/site-packages/redis/asyncio/connection.py", line 905, in send_command
await self.send_packed_command(
File ".../site-packages/redis/asyncio/connection.py", line 896, in send_packed_command
raise ConnectionError(...
redis.exceptions.ConnectionError: Error UNKNOWN while writing to socket. Connection lost. |
6 tasks
Closed because it was fixed in # 2271 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: redis-py: 4.3.1
Description: Missing
call_with_retry
mechanism in async version of Connection (and SentinelManagedConnection). This behavior differs from the sync version of those classes.test to reproduce the issue:
The text was updated successfully, but these errors were encountered: