Serhii Shemshur
Serhii Shemshur

Reputation: 1343

How can I disable redis master-slave replication with Sentinel

We have an application with Redis Sentinel(3 sentinel 1 master 1 slave). We don't need replication at all. How can I turn off replication?

Upvotes: 2

Views: 5207

Answers (1)

Pascal Le Merrer
Pascal Le Merrer

Reputation: 5981

The command SLAVEOF NO ONE, when sent to a slave, will turn off the replication. The slave will become a master.

If you disable replication, you probably don't need Redis Sentinel either.

Upvotes: 5

Related Questions