mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 17:51:21 +00:00
Slave removal: SLAVEOF -> REPLICAOF. SLAVEOF is now an alias.
This commit is contained in:
@ -1997,7 +1997,7 @@ void replicationHandleMasterDisconnection(void) {
|
||||
* the slaves only if we'll have to do a full resync with our master. */
|
||||
}
|
||||
|
||||
void slaveofCommand(client *c) {
|
||||
void replicaofCommand(client *c) {
|
||||
/* SLAVEOF is not allowed in cluster mode as replication is automatically
|
||||
* configured using the current address of the master node. */
|
||||
if (server.cluster_enabled) {
|
||||
|
Reference in New Issue
Block a user