-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add dynamic_startup_nodes parameter to async ValkeyCluster #167
Add dynamic_startup_nodes parameter to async ValkeyCluster #167
Conversation
5d4f019
to
e6a2369
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #167 +/- ##
=======================================
Coverage 76.23% 76.24%
=======================================
Files 130 130
Lines 33946 33956 +10
=======================================
+ Hits 25880 25891 +11
+ Misses 8066 8065 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Kakadus,
Thanks for your contribution! The change looks good to me. Even though it changes the default user-facing behaviour I suppose it should be fine since it shouldn't break any existing setup. I'll still wait for other maintainers to hear from them about it.
Also one request: would you be able to change your |
It really shouldn't? By default,
|
Signed-off-by: Jonas Dittrich <kakadus2303@gmail.com>
e6a2369
to
4be949a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Great, thank you for fixing the DCO! I have put this PR into the merge queue. This change will be a part of upcoming 6.1.0 :) |
Pull Request check-list
Description of change
Note: I opened this PR some time ago at redis-py, but there seems to be no responses so far. It fixes a bug we currently have with redis-py, and we will migrate to valkey-py if this get accepted here : )
The async version of the
ValkeyCluster
lackes thedynamic_startup_nodes
parameter. This PR adds the parameter to be activated when dynamic DNS endpoints for startup nodes are in use.Enabling
dynamic_startup_nodes
fixes redis/redis-py#2472, which describes the problem in detail.