mrutunjay-kinagi opened a new pull request, #3063: URL: https://github.com/apache/iceberg-python/pull/3063
<!-- Closes #3008 --> # Rationale for this change When REST catalog uses SigV4 signing, retries were not configured on the mounted adapter. This change adds explicit retry defaults for signed REST requests and makes retry count configurable. Changes: - Added `rest.sigv4.max-retries` catalog property. - Default retries set to 10 attempts. - Retries configured for idempotent methods (`GET`, `HEAD`, `OPTIONS`) and common throttling/transient codes (`429`, `500`, `502`, `503`, `504`). ## Are these changes tested? Yes. - Added `test_sigv4_adapter_default_retry_config`. - Added `test_sigv4_adapter_override_retry_config`. - Verified with targeted pytest run. ## Are there any user-facing changes? Yes. - New optional REST catalog property: `rest.sigv4.max-retries`. - Improved resilience for throttling/transient HTTP failures on SigV4-enabled REST catalogs. -- 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]
