Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A temporary credential-provider outage can terminate an operation before the storage client's HTTP retry loop starts. Add an opt-in provider wrapper that waits with capped exponential backoff for known transient I/O failures, preserving the original operation, provider identity and forced-refresh behavior. Permanent, unknown and external errors return unchanged; dropping the caller cancels its awaited provider future and backoff.
Wrap the origin provider once before constructing its storage-options accessor. The provider retains its own request timeout and attempt policy. Shared observations distinguish retry decisions from actual provider invocations, record provider/backoff time including cancelled intervals, and expose active calls and recovery, failure and cancellation outcomes. The wrapper does not retry application mutations or create background tasks.
Refs #378.
Testing
cargo clippy -p lance-context-ingest --features http-client,materializer --all-targets -- -D warningspassed.UV_NO_SYNC=1.