Write on Slave redis db

2019-07-06 22:34发布

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?

标签: redis
1条回答
Lonely孤独者°
2楼-- · 2019-07-06 23:04

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

查看更多
登录 后发表回答