PEXPIRE command

11 views
Skip to first unread message

molca...@gmail.com

unread,
Jun 7, 2018, 4:09:45 PM6/7/18
to Redis DB
When I expire keys in a Redis Cluster (3 masters, sharded) , do I have to send the command to all slaves as well or just the masters?  thank you

hva...@gmail.com

unread,
Jun 8, 2018, 12:21:22 AM6/8/18
to Redis DB
You only need to send the command to the masters.  The master-slave replication will deliver the command (or its equivalent) to the slaves.
Reply all
Reply to author
Forward
0 new messages