Skip to content
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

Fix MEMORY USAGE key in cluster (legacy redis) #3047

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eoghanmurray
Copy link

Hard code determining that there is a single key argument for MEMORY USAGE so that the Cluster can determine the correct node to query

Tested against redis 5.0.3, so maybe the newer redis servers have better info in the COMMAND return values

…USAGE so that the Cluster can determine the correct node to query
@eoghanmurray eoghanmurray changed the title Fix MEMORY USAGE key in cluster Fix MEMORY USAGE key in cluster (legacy redis) Nov 17, 2023
@eoghanmurray
Copy link
Author

Ah I see the COMMAND return values in latest redis returns lots of subcommand info ... I'll leave it up to the maintainers to determine whether this sort of thing is worth backporting; my implementation is added as a fallback so shouldn't interfere with new information coming in from Redis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant