You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add StartupOptions for time-based retries on startup (#488)
* first draft time-based retries in startup
* set startupdelay from configureclientoptions, fix syntax and spacing
* allow configuring of startupclientoptions from options
* rough draft startupoptions
* fix draft
* clarify summary for startupoptions
* testing out retryoptions settings
* update with new structure, need logic to calculate retry options for specified timeout
* fix usage of startupconfigclientmanager, logic for retry time to use cancellationtoken
* in progress fixing connect tests
* fix connecttest, clientoptions in progress, need to fix maxretry logic
* fix tests
* extend startup timeout on test
* remove unused variable
* remove unused usings
* remove max retries change
* in progress working on fix for multiple clients with timeout
* in progress fix initializeasync
* in progress fixing failover logic
* progress
* fix with updates to logic for replicas
* fix tests and logic in initializeasync
* remove unused using
* in progress fixing timing of cts
* stuck on logic for srv dns changes, iasyncenumerable
* progress
* progress changing timeout to per store/replica, change options properties to internal
* fix logic to be per store/replica
* remove cancellationtoken from func
* progress on looping over clients
* fix iterating over clients, unit tests in progress
* add backoff to if statement
* working draft of design to retry replicas until timeout
* updates to fix unit tests, bugs
* fix variable naming hasNextClient
* add comment to catch in initializeasync
* prevent unnecessary delay when load finished
* remove custom exception, fix logic in executewithfailover
* move comment
* fix small mistakes, rename variables
* PR revisions
* restructure startup retry logic, fix tests
* Update src/Microsoft.Extensions.Configuration.AzureAppConfiguration/StartupOptions.cs
Co-authored-by: Jimmy Campbell <[email protected]>
* remove unnecessary param isstartup, fix text
* PR revisions, fix configurestartupoptions summary
* Apply suggestions from code review
Co-authored-by: Jimmy Campbell <[email protected]>
* combine if statemenets
* simplify logic for catching operationcanceledexception
Co-authored-by: Avani Gupta <[email protected]>
* move call to getclients
* PR revisions, make tests more specific
* add new methods for jitter and startup backoff calculation, fix smaller issues with namespace/names
* use new fixed + exponential backoff function
* remove debugging statemenets
* PR revisions
* PR revisions, remove new exponential backoff method and update old one to use jitter
* update jitter range logic
* fix isFailoverable, change jitter ratio to 0.25
* update IsFailoverable
---------
Co-authored-by: Jimmy Campbell <[email protected]>
Co-authored-by: Avani Gupta <[email protected]>
0 commit comments