You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "rjgoyln (via GitHub)" <gi...@apache.org> on 2026/10/01 18:17:17 UTC
[PR] RATIS-2725. Tune maven-resolver HTTP retry settings for CI [ratis]
rjgoyln opened a new pull request, #1620:
URL: https://github.com/apache/ratis/pull/1620
## What changes were proposed in this pull request?
The retry settings copied from Ozone in RATIS-2698 turned out too aggressive there (HDDS-16648). With `count=10`, one artifact that keeps getting 429 is retried for about 275s, adding load on a server that is asking clients to slow down.
This applies the values from apache/ozone#11375:
- Reduce `retryHandler.count` from 10 to 5.
- Add `retryHandler.intervalMax=30000` and `connectionMaxTtl=25`.
- Drop `-Dhttp.keepAlive=false`, which the resolver's HttpClient never reads.
`intervalMax` is a give-up threshold, not a clamp. A `Retry-After` above 30s now fails the download at once instead of holding the runner for minutes, while the normal backoff with `count=5` peaks at 25s and stays below it.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-2725
## How was this patch tested?
Measured in apache/ozone#11375 with Maven 3.9.16 against a mirror that always returns 429:
| Settings | `Retry-After` | Requests | Elapsed |
| --- | --- | ---: | ---: |
| Before | none | 11 | 277.4s |
| After | none | 6 | 77.0s |
| Before | `60` | 11 | 602.4s |
| After | `60` | 1 | 2.3s |
Generated-by: Claude Code (Opus 5.5)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ratis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] RATIS-2725. Tune maven-resolver HTTP retry settings for CI [ratis]
Posted by "amaliujia (via GitHub)" <gi...@apache.org>.
amaliujia merged PR #1620:
URL: https://github.com/apache/ratis/pull/1620
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ratis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] RATIS-2725. Tune maven-resolver HTTP retry settings for CI [ratis]
Posted by "amaliujia (via GitHub)" <gi...@apache.org>.
amaliujia commented on PR #1620:
URL: https://github.com/apache/ratis/pull/1620#issuecomment-5944343808
cc @adoroszlai
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ratis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] RATIS-2725. Tune maven-resolver HTTP retry settings for CI [ratis]
Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #1620:
URL: https://github.com/apache/ratis/pull/1620#issuecomment-5946715984
Thanks @rjgoyln for the patch, @amaliujia for the review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ratis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org