Skip to content

[object_store] Runtime Agnostic Retry Machinery #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tustvold opened this issue Mar 18, 2025 · 0 comments
Open

[object_store] Runtime Agnostic Retry Machinery #1

tustvold opened this issue Mar 18, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@tustvold
Copy link
Contributor

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Whilst the HttpClient abstraction allows spawning work to a separate tokio runtime, see apache/arrow-rs#7253, the retry machinery itself also makes use of tokio - see here.

This forces the calling context to be a tokio content.

Describe the solution you'd like

I think we should make it possible to use object_store in a non-tokio runtime.

Describe alternatives you've considered

We could simply disable backoff and rety if not called from a tokio runtime.

Additional context

@tustvold tustvold added the enhancement New feature or request label Mar 18, 2025
@alamb alamb transferred this issue from apache/arrow-rs Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant