GEORADIUS/GEORADIUSBYMEMBER fails on read only slave.

70 views
Skip to first unread message

kirk salomon

unread,
Jun 13, 2016, 3:58:18 AM6/13/16
to Redis DB
When using the GEORADUIS command or GEORADIUSBYMEMBER on a read only slave, the system responds with "READONLY You can't write against a read only slave."

CharSyam

unread,
Jun 13, 2016, 5:10:41 AM6/13/16
to redi...@googlegroups.com
GEORADUIS and GEORADIUSBYMEMBER are writable command, so redis prohibits using them on read only slaves.

if you reallly want to use them, and if you don't use store key(for read only)
than just set "slave-read-only" as no using config command.

2016-06-12 0:44 GMT+09:00 kirk salomon <ksalo...@gmail.com>:
When using the GEORADUIS command or GEORADIUSBYMEMBER on a read only slave, the system responds with "READONLY You can't write against a read only slave."

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages