Retry JobManagerCrashedError and limit a certain number of retries
Proposal for https://github.com/huggingface/datasets-server/issues/2218

When saving a new cache result, the "retries" counter will be increased if there already exists another record for the same revision (and kind+dataset+config+split combination). 
If it is the first time it is by default 0.
If there already exists a cache for a revision and there is a new cache result because of a new revision (commit), the counter will start in 0 again.
When creating a new job by backfill process, it will retry jobs if the error_code is in the error_codes_to_retry AND the number of retries is less than `MAX_RETRY_ATTEMPTS.`

Retry JobManagerCrashedError and limit a certain number of retries: Proposal for https://github.com/huggingface/datasets-server/issues/2218

When saving a new cache result, the "retries" counter will be increased if there already exists another record for the same revision (and kind+dataset+config+split combination). 
If it is the first time it is by default 0.
If there already exists a cache for a revision and there is a new cache result because of a new revision (commit), the counter will start in 0 again.
When creating a new job by backfill process, it will retry jobs if the error_code is in the error_codes_to_retry AND the number of retries is less than `MAX_RETRY_ATTEMPTS.`
