INFO REPLICATION
to identify if the current instance is a replica and to find the master's address.ROLE
to confirm the instance's role (it should return slave
if it's a read-only replica).SLAVEOF NO ONE
to promote the replica to a master. This action should be taken with caution and ideally, after consulting with a Redis administrator or after thoroughly understanding the implications.(Perfect for DevOps & SREs)
(Perfect for DevOps & SREs)