snowflake-connector-python icon indicating copy to clipboard operation
snowflake-connector-python copied to clipboard

SNOW-635269: Allow control of retry counts and/or retry backoff logic

Open davidemerritt opened this issue 3 years ago • 1 comments

What is the current behavior?

The retry behavior when snowflake responds with a 503 is not controllable. It currently retries 10 times with a jittered 15s backoff.

What is the desired behavior?

Being able to control this either via a global override or the client connection option would be desirable. This would allow for our application logic to handle these errors or do longer backoffs so we don't send barrage the service with more requests when it can't respond.

How would this improve snowflake-connector-python?

Add more configuration and flexibility to the python client.

References, Other Background

Please expose configuration for MAX_DOWNLOAD_RETRY and DecorrelateJitterBackoff

davidemerritt avatar Jul 26 '22 17:07 davidemerritt