File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
modules/repository-s3/src/main/java/org/elasticsearch/repositories/s3 Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -257,6 +257,8 @@ static ClientOverrideConfiguration buildConfiguration(S3ClientSettings clientSet
257257 clientOverrideConfiguration .retryStrategy (builder -> {
258258 builder .maxAttempts (clientSettings .maxRetries );
259259 // TODO NOMERGE: revisit this, does it still make sense to specially retry?
260+ // -- dct: yes, in serverless we sometimes get 403s during because of delays in propagating updated credentials
261+ // (IAM is not strongly consistent); TODO NOMERGE this should be covered by some end-to-end test
260262 if (isStateless ) {
261263 // Create a 403 error retyable policy.
262264 builder .retryOnException (S3Service ::RETRYABLE_403_RETRY_PREDICATE );
You can’t perform that action at this time.
0 commit comments