Project

General

Profile

Feature #5538

Updated by Tom Clegg over 8 years ago

ArvadosClient doesn't retry errors.    Add a "Retries" field to ArvadosClient and update ArvadosClient.CallRaw() to perform a similar retry loop as recently implemented in KeepClient. 

 Retry @c.Client.Do()@ if 
 * @Do()@ returns an error (i.e., there was no HTTP response) and method is idempotent (GET or PUT) 
 * @Do()@ succeeds but the HTTP response code is retryable (use the same list as _HTTP_CAN_RETRY in the Python SDK: 408, 409, 422, 423, 500, 502, 503, 504) 

Back