You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "ddupg (via GitHub)" <gi...@apache.org> on 2026/08/19 11:24:17 UTC
[I] new feature: add max elapsed time support to RetryLayer [opendal]
ddupg opened a new issue, #8110:
URL: https://github.com/apache/opendal/issues/8110
### Feature Description
Add `RetryLayer::with_max_elapsed_time(Duration)` to stop scheduling retries after a configured time budget.
### Problem and Solution
Lance exposes `client_retry_timeout` and uses it for its native object store providers. Lance is adding retry support for OpenDAL-backed stores in:
https://github.com/lance-format/lance/pull/8363
OpenDAL can map `client_max_retries` to `RetryLayer::with_max_times`, but currently has no equivalent for `client_retry_timeout`.
The elapsed-time primitive should first be implemented in BackON because BackON owns the retry state machine. OpenDAL can then expose it through `RetryLayer` and apply it consistently to normal and stateful operations.
The timer should start with the first attempt. After a retryable failure, BackON should stop scheduling retries when either the elapsed-time budget or `max_times` is reached. It should not cancel an attempt or sleep already in progress.
### Additional Context
Expected order:
1. Implement and release the elapsed-time primitive in BackON.
2. Expose it through OpenDAL `RetryLayer`.
3. Map Lance `client_retry_timeout` to the OpenDAL API.
### Are you willing to contribute to the development of this feature?
- [x] Yes, I am willing to contribute to the development of this feature.
--
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: commits-unsubscribe@opendal.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] new feature: add max elapsed time support to RetryLayer [opendal]
Posted by "ddupg (via GitHub)" <gi...@apache.org>.
ddupg commented on issue #8110:
URL: https://github.com/apache/opendal/issues/8110#issuecomment-5341517126
BackON implementation PR: https://github.com/Xuanwo/backon/pull/241
This PR adds the executor-level elapsed-time primitive. OpenDAL can expose it through RetryLayer after the BackON change is merged and released.
--
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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] new feature: add max elapsed time support to RetryLayer [opendal]
Posted by "ddupg (via GitHub) via commits" <co...@opendal.apache.org>.
ddupg closed issue #8110: new feature: add max elapsed time support to RetryLayer
URL: https://github.com/apache/opendal/issues/8110
--
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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org