-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Workload Resilience
-
Workload Resilience 2025-10-27
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Update AsyncTry to easily integrate with the new RetryStrategy interface.
A new AsyncTry::withRetryStrategy builder stage should be introduced to allow callers to easily adopt a RetryStrategy in their async work.
This helper will under the hood call into until and pass the strategy to withBackoffBetweenIterations via the RetryDelayAsBackoff adapter.
To properly handle error labels with the retry strategy, we should also make the callable return a RetryStrategy::Result<T> instead of a StatusWith<T>.
As part of this task, we should change async_rpc to use this new utility instead of manually using the retry strategy inside the until lambda
- depends on
-
SERVER-112526 Remove a couple of library dependencies in order to allow future_util.h to include retry_strategy.h
-
- Open
-
- is depended on by
-
SERVER-108330 Update WithAutomaticRetry to support RetryStrategy
-
- Blocked
-