Write on Slave redis db
Asked Answered
O

2

10

I have a master redis server (S1) and I have 6 other servers. I want them to have local redis slaves, so any change on the redis master will be replicated to the slaves on each local server

Can I write on a slave and make this one update the master, and then the master will update the other slaves?

Overly answered 20/11, 2015 at 14:29 Comment(1)
Have you read the documentation? redis.io/topics/replicationJarmon
L
14

You can disable read-only mode on a slave, but the writes to the slave will be ephemeral and discarded when the slave resynchronizes or is restarted.

Also this feature will possibly be dropped in the future.

See http://redis.io/topics/replication#read-only-slave

Lafave answered 20/11, 2015 at 16:24 Comment(0)
E
0

Create a cluster instead. This video shows how: https://www.youtube.com/watch?v=N8BkmdZzxDg

Enticement answered 14/5, 2022 at 1:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.