Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

feat(rest): add sigv4 retry configuration defaults#3063

Open
mrutunjay-kinagi wants to merge 6 commits intoapache:main from
mrutunjay-kinagi:fix-3008-sigv4-retries
Open

feat(rest): add sigv4 retry configuration defaults #3063
mrutunjay-kinagi wants to merge 6 commits intoapache:main from
mrutunjay-kinagi:fix-3008-sigv4-retries

Conversation

@mrutunjay-kinagi
Copy link
Contributor

@mrutunjay-kinagi mrutunjay-kinagi commented Feb 17, 2026

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.

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, thanks @mrutunjay-kinagi for working on this 🙌

mrutunjay-kinagi reacted with rocket emoji
Copy link
Contributor Author

Seems reasonable, thanks @mrutunjay-kinagi for working on this 🙌

@Fokko Thank you 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Fokko Fokko Fokko approved these changes

+1 more reviewer

@Tommo56700 Tommo56700 Tommo56700 left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /