Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Allow EVAL/EVALSHA to read from replicas #480

Open
rtkefreure opened this issue Sep 14, 2021 · 0 comments
Open

Allow EVAL/EVALSHA to read from replicas #480

rtkefreure opened this issue Sep 14, 2021 · 0 comments

Comments

@rtkefreure
Copy link

rtkefreure commented Sep 14, 2021

Based on this comment
redis/redis#8537 (comment)
it looks like it should be possible to send an EVAL/EVALSHA command to a replica in cluster mode (as long as the script commands are all readonly). It looks like this library explicitly prevents all EVAL/EVALSHA commands from running against replicas. Is that correct? If so, would it be possible to add in a new feature to allow EVAL/EVALSHA to run on replicas?
Thanks

@rtkefreure rtkefreure changed the title Allow Eval to read from replicas Allow EVAL/EVALSHA to read from replicas Sep 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant