-
Notifications
You must be signed in to change notification settings - Fork 40
Add StartupOptions for time-based retries on startup #488
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
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
e80a3fa
first draft time-based retries in startup
amerjusupovic 031c473
set startupdelay from configureclientoptions, fix syntax and spacing
amerjusupovic 7a0698e
allow configuring of startupclientoptions from options
amerjusupovic 0ac28dd
rough draft startupoptions
amerjusupovic 3070f42
fix draft
amerjusupovic 40ffcbd
clarify summary for startupoptions
amerjusupovic 2516420
testing out retryoptions settings
amerjusupovic e69a33c
update with new structure, need logic to calculate retry options for …
amerjusupovic 565cbf5
fix usage of startupconfigclientmanager, logic for retry time to use …
amerjusupovic e09e934
in progress fixing connect tests
amerjusupovic e9bb2d7
fix connecttest, clientoptions in progress, need to fix maxretry logic
amerjusupovic b2b38c5
fix tests
amerjusupovic fdce806
extend startup timeout on test
amerjusupovic 3242e9f
remove unused variable
amerjusupovic e099d5f
remove unused usings
amerjusupovic 638ae77
remove max retries change
amerjusupovic 7a56057
in progress working on fix for multiple clients with timeout
amerjusupovic 313196c
in progress fix initializeasync
amerjusupovic 4b4dad4
in progress fixing failover logic
amerjusupovic 18f994e
progress
amerjusupovic c67243c
fix with updates to logic for replicas
amerjusupovic 0ff1221
fix tests and logic in initializeasync
amerjusupovic 823392e
remove unused using
amerjusupovic 0f1e5b3
in progress fixing timing of cts
amerjusupovic 9a3f139
stuck on logic for srv dns changes, iasyncenumerable
amerjusupovic a8f3698
progress
amerjusupovic 34829cc
progress changing timeout to per store/replica, change options proper…
amerjusupovic df8a41c
fix logic to be per store/replica
amerjusupovic 1dc561e
remove cancellationtoken from func
amerjusupovic 6535cbb
progress on looping over clients
amerjusupovic a07e88b
fix iterating over clients, unit tests in progress
amerjusupovic cd722c0
add backoff to if statement
amerjusupovic 9fc665c
working draft of design to retry replicas until timeout
amerjusupovic c92162a
updates to fix unit tests, bugs
amerjusupovic 807c38b
fix variable naming hasNextClient
amerjusupovic 4c4aa37
add comment to catch in initializeasync
amerjusupovic 03bff55
prevent unnecessary delay when load finished
amerjusupovic 418eb66
remove custom exception, fix logic in executewithfailover
amerjusupovic 95979fd
move comment
amerjusupovic 2df9787
fix small mistakes, rename variables
amerjusupovic 4e98cb7
PR revisions
amerjusupovic 609df3a
restructure startup retry logic, fix tests
amerjusupovic 39da723
Update src/Microsoft.Extensions.Configuration.AzureAppConfiguration/S…
amerjusupovic 3f2f466
remove unnecessary param isstartup, fix text
amerjusupovic b7b986d
PR revisions, fix configurestartupoptions summary
amerjusupovic 5393333
Apply suggestions from code review
amerjusupovic 17e013e
combine if statemenets
amerjusupovic e74a184
simplify logic for catching operationcanceledexception
amerjusupovic 18f4b8b
move call to getclients
amerjusupovic 6098a3a
PR revisions, make tests more specific
amerjusupovic c860a72
add new methods for jitter and startup backoff calculation, fix small…
amerjusupovic 4ebb18a
use new fixed + exponential backoff function
amerjusupovic 1fd54a0
remove debugging statemenets
amerjusupovic f9443d0
PR revisions
amerjusupovic 21f6d51
PR revisions, remove new exponential backoff method and update old on…
amerjusupovic 34173e6
update jitter range logic
amerjusupovic 57f75f6
fix isFailoverable, change jitter ratio to 0.25
amerjusupovic 8c34b8f
update IsFailoverable
amerjusupovic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.