-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat(redis_info): add option to fetch cluster info #8464
feat(redis_info): add option to fetch cluster info #8464
Conversation
3e923a8
to
d91f7ab
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.
Thanks for your contribution!
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
Thanks for the review, I applied everything! |
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.
I have nothing to add. Thanks for the contribution.
Backport to stable-9: 💚 backport PR created✅ Backport PR branch: Backported as #8493 🤖 @patchback |
* feat(redis_info): add option to fetch cluster info * add changelog fragment * update description Co-authored-by: Felix Fontein <felix@fontein.de> * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 800bc01)
@tyxieblub thanks for your contribution! |
…o fetch cluster info (#8493) feat(redis_info): add option to fetch cluster info (#8464) * feat(redis_info): add option to fetch cluster info * add changelog fragment * update description Co-authored-by: Felix Fontein <felix@fontein.de> * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 800bc01) Co-authored-by: joris <5111464+tyxieblub@users.noreply.github.com>
…ns#8464) * feat(redis_info): add option to fetch cluster info * add changelog fragment * update description Co-authored-by: Felix Fontein <felix@fontein.de> * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
SUMMARY
Adds support for getting cluster information. It does not use, redis-py's cluster_info() because I couldn't get it to work when the cluster is yet to be configured. Hence the
execute_command
which works in that case.It's optional and can be invoked with adding
cluster: true
to the task:And returns the additionnal data in the
cluster_info
variable alongsideinfo
.ISSUE TYPE
COMPONENT NAME