-
Notifications
You must be signed in to change notification settings - Fork 973
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
Geosearch and FCALL_RO commands go to the master node #2568
Labels
status: good-first-issue
An issue that can only be worked on by brand new contributors
type: bug
A general bug
Milestone
Comments
kajte
added a commit
to kajte/lettuce-core
that referenced
this issue
Dec 12, 2023
Set GEOSEARCH as read-only command to allow running the command on replicas.
mp911de
added
type: bug
A general bug
status: good-first-issue
An issue that can only be worked on by brand new contributors
labels
Dec 13, 2023
The same goes for FCALL_RO. My use case requires these to be spread among ReadFrom.ALL but currently they only go to masters. |
As workaround, you can configure |
mp911de
changed the title
Geosearch commands go to the master node
Geosearch and FCALL_RO commands go to the master node
Jan 3, 2024
mp911de
pushed a commit
that referenced
this issue
Jan 3, 2024
Set GEOSEARCH as read-only command to allow running the command on replicas. Original pull request: #2569
mp911de
pushed a commit
that referenced
this issue
Jan 3, 2024
Set GEOSEARCH as read-only command to allow running the command on replicas. Original pull request: #2569
ggivo
added a commit
to ggivo/lettuce
that referenced
this issue
Oct 30, 2024
…lica" on READS... only if master & replica configured redis#1813 Divert pure read intentions of georadius and georadiusbymember commands (variants that do not use STORE/STOREDIST) to GEORADIUS_RO/GEORADIUSBYMEMBER_RO This will unify the behaviour between Cluster and Redis Standalone/Replica arrangements Relates to issues redis#1481 redis#2568 redis#2871 Closes redis#1813
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
status: good-first-issue
An issue that can only be worked on by brand new contributors
type: bug
A general bug
Bug Report
Current Behavior
geosearch
commands go to master node even if read intentionReadFrom.REPLICA
is specified.Input Code
MONITOR
command to see commands coming to nodesgeosearch
command goes to primary node andget
replica nodeExpected behavior/code
geosearch
commands should go to replica node when read intentionReadFrom.REPLICA
is specified as the command (https://redis.io/commands/geosearch/) is only reading.Environment
6.3.0.RELEASE
but I believe other versions are affected tooPossible Solution
Add
geosearch
to the list of read_only commands similar to #2198 did forsmismember
. I can open a PR to do that.The text was updated successfully, but these errors were encountered: