felipepessoto commented on PR #13663:
URL: https://github.com/apache/gluten/pull/13663#issuecomment-6973586876

   > Thanks for the fix. I'm wondering whether we need this much logic for 
downloading one bootstrap file. The existing `curl --retry` already covers 
timeouts and 5xx; the only gap on older curl is HTTP 429. A small outer loop 
around the existing curl/wget call (e.g. 3 attempts, 20s/40s waits, removing 
the partial file between attempts) would cover that in ~10 lines, without 
parsing `Retry-After` or a dedicated test. Also, since every CI job currently 
downloads Maven, caching `build/.mvn` (or installing the pinned Maven in the CI 
image) would avoid most of these downloads in the first place.
   
   @philo-he
   Thanks, agreed. I’ve simplified this to three outer invocations around the 
existing curl/wget commands, with 20s/40s waits and partial-file cleanup. The 
native retry flags remain unchanged, and the custom header/date parsing is 
gone. I kept three focused regression tests.
   
   Caching is covered separately by #13662. Official download sources, archive 
fallback, and checksum verification are in #13669. 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to