Skip to content

Conversation

@cyphar
Copy link
Owner

@cyphar cyphar commented Oct 31, 2025

We have seen reports of users hitting the 32 retry limit, hopefully a 4x
increase is enough to ease the pain. Ultimately, as a result of commit
02d2e4b ("gopathrs: return raw errors from openat2 retry loop") it
is practical for callers to do their own top-level infinite retry loop
if intermittent failures are unacceptable for their use-case.

Signed-off-by: Aleksa Sarai [email protected]

We have seen reports of users hitting the 32 retry limit, hopefully a 4x
increase is enough to ease the pain. Ultimately, as a result of commit
02d2e4b ("gopathrs: return raw errors from openat2 retry loop") it
is practical for callers to do their own top-level infinite retry loop
if intermittent failures are unacceptable for their use-case.

Signed-off-by: Aleksa Sarai <[email protected]>
@cyphar cyphar added this to the 0.5.1 milestone Oct 31, 2025
@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@cyphar cyphar merged commit cc741d0 into main Oct 31, 2025
51 checks passed
@cyphar cyphar deleted the openat2-more-retries branch October 31, 2025 07:58
yeazelm added a commit to bottlerocket-os/bottlerocket-core-kit that referenced this pull request Nov 5, 2025
Bump the retry counter to 128 from 32 for vendored depenedency to
handle situations where there is a lot of resource contention.

This is taken from 28c6340c68213ca07e2cc715f33495681ebd1792 in
filepath-securejoin as part of cyphar/filepath-securejoin#76

Signed-off-by: Matthew Yeazel <[email protected]>
Reviewed-by: Kyle Sessions <[email protected]>
Reviewed-by: Ben Cressey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants