-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
techdebtThings that can be improved or refactoredThings that can be improved or refactored
Description
Version: redis==4.5.5
Platform: Python 3.11 on Linux
Description: JSON.GET isn't performed on replicas when read_from_replicas=True
I've added JSON.GET to the READ_COMMANDS frozenset in commands/cluster.py and it seems to help distribute reads over all nodes for the particular shard, but I'm not a subject expert, and only tested this with 1 shard on my cluster.
If requested i can make a pull request.
Or in case needed, i can test this with >1 shard for JSON.GET
But perhaps you would like to extend it with more commands in one go.
Thanks for your feedback
bennettgoble
Metadata
Metadata
Assignees
Labels
techdebtThings that can be improved or refactoredThings that can be improved or refactored