-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Added support for Pub/Sub mode in MultiDbClient #3722
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
+392
−46
Merged
Changes from all commits
Commits
Show all changes
52 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 46afaea
Added support for Active-Active pipeline
vladvildanov badef0e
Refactored healthchecks
vladvildanov 0cdeebf
Merge branch 'vv-multi-db-client' of github.com:redis/redis-py into v…
vladvildanov f16b646
Added Pipeline testing
vladvildanov 7e43b40
Added support for transactions
vladvildanov fcc6035
Removed code repetitions, fixed weight assignment, added loops enhanc…
vladvildanov 7e815ad
Merge branch 'vv-multi-db-client' of github.com:redis/redis-py into v…
vladvildanov 0563024
Added missing doc blocks
vladvildanov f64e10d
Added support for Pub/Sub in MultiDBClient
vladvildanov d5dc65c
Refactored configuration
vladvildanov 7086822
Refactored failure detector
vladvildanov 2561d6f
Refactored retry logic
vladvildanov 6b0689a
Merge branch 'vv-multi-db-client' of github.com:redis/redis-py into v…
vladvildanov e15a38b
Merge branch 'vv-active-active-pipeline' of github.com:redis/redis-py…
vladvildanov a0af5b3
Added scenario tests
vladvildanov aaed8d7
Added pybreaker optional dependency
vladvildanov 0551618
Added pybreaker to dev dependencies
vladvildanov 1d288e6
Rename tests directory
vladvildanov 0c644f2
Merge branch 'vv-multi-db-client' of github.com:redis/redis-py into v…
vladvildanov 8922aa8
Added scenario tests for Pipeline and Transaction
vladvildanov 94eff21
Added handling of ConnectionRefusedError, added timeouts so cluster c…
vladvildanov 7fa7c07
Increased timeouts
vladvildanov 2cb8cac
Refactored integration tests
vladvildanov e76aea3
Merge branch 'vv-active-active-pipeline' of github.com:redis/redis-py…
vladvildanov 2de5d09
Added scenario tests for Pub/Sub
vladvildanov a7f03c0
Updated healthcheck retry
vladvildanov 0505e0a
Increased timeout to avoid unprepared state before tests
vladvildanov a7a7b6d
Added backoff retry and changed timeouts
vladvildanov faa18ae
Added retry for healthchecks to avoid fluctuations
vladvildanov 7d5e957
Changed retry configuration for healthchecks
vladvildanov ed93cfc
Fixed property name
vladvildanov bee15d9
Merge branch 'vv-active-active-pipeline' of github.com:redis/redis-py…
vladvildanov b9d727e
Merge branch 'feat/active-active' of github.com:redis/redis-py into v…
vladvildanov 897dadb
Added check for thread results
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
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.