basho / riak-python-client

The Riak client for Python.
Apache License 2.0
321 stars 183 forks source link

Re-try initial operation if socket is closed [JIRA: CLIENTS-1049] #503

Closed lukebakken closed 7 years ago

lukebakken commented 7 years ago

When a command is executed against Riak if the chosen socket is closed, an error will occur. This could happen on stale connections if a load balancer (like ELB) times out. Some operations aren't automatically re-tried, but in the case of an immediate socket failure, all Riak operations should be re-tried at least once with a new connection.

basho/riak-clients#6

lukebakken commented 7 years ago

I'm using this haproxy config to simulate ELB closing connections.

Basho-JIRA commented 7 years ago

Fixed, or closed via GitHub issues.

[posted via JIRA by Alexander Moore]