redis将slave转换为master

slave server上执行”SLAVEOF NO ONE”,slave server转换为master server.

Once you are sure that the master is no longer receiving any query (you can check this with the MONITOR command), elect the slave to master using the SLAVEOF NO ONE command, and shut down your master.

标签: Redis
评论: 0 | 引用: 0 | 阅读: 9162