-
Notifications
You must be signed in to change notification settings - Fork 2.6k
MultiDbClient implementation #3696
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 4 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
ac86280
Added Database, Healthcheck, CircuitBreaker, FailureDetector
vladvildanov 4f4a53c
Added DatabaseSelector, exceptions, refactored existing entities
vladvildanov acc68ef
Added MultiDbConfig
vladvildanov 255bb0e
Added DatabaseConfig
vladvildanov 79db257
Added DatabaseConfig test coverage
vladvildanov 8790db1
Renamed DatabaseSelector into FailoverStrategy
vladvildanov b3ad8da
Added CommandExecutor
vladvildanov 3a1dc9c
Updated healthcheck to close circuit on success
vladvildanov 9bb9235
Added thread-safeness
vladvildanov 3218e36
Added missing thread-safeness
vladvildanov 4cdb6f4
Added missing thread-safenes for dispatcher
vladvildanov 6914467
Refactored client to keep databases in WeightedList
vladvildanov 5b94757
Added database CRUD operations
vladvildanov daba501
Added on-fly configuration
vladvildanov 061e518
Added background health checks
vladvildanov a562774
Added background healthcheck + half-open event
vladvildanov 3ab1367
Refactored background scheduling
vladvildanov 3a55dcd
Merge branch 'feat/active-active' of github.com:redis/redis-py into v…
vladvildanov badef0e
Refactored healthchecks
vladvildanov fcc6035
Removed code repetitions, fixed weight assignment, added loops enhanc…
vladvildanov d5dc65c
Refactored configuration
vladvildanov 7086822
Refactored failure detector
vladvildanov 2561d6f
Refactored retry logic
vladvildanov a0af5b3
Added scenario tests
vladvildanov aaed8d7
Added pybreaker optional dependency
vladvildanov 0551618
Added pybreaker to dev dependencies
vladvildanov 1d288e6
Rename tests directory
vladvildanov 6cdca81
Remove redundant checks
vladvildanov 66ba193
Handle retries if default is not set
vladvildanov 7c0c26a
Removed all Sentinel related
vladvildanov 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.