Skip to content

Ask the HotKV docs

Answers come only from these docs and can be wrong; check the linked pages before you rely on them.

SLAVEOF

Last updated

Deprecated: use REPLICAOF instead.

SLAVEOF NO ONE
SLAVEOF host port
Group
Server
Arity
3 (exactly, counting the command name)
Flags
admin
HotKV Cloud
All plans
On-Premise
no license needed

SLAVEOF is the old name of REPLICAOF and behaves exactly like it: SLAVEOF NO ONE promotes a replica to primary, and SLAVEOF host port makes the server a replica of the HotKV server at that address. See REPLICAOF for the replies.

The same as REPLICAOF.

10.0.0.6:6379> SLAVEOF NO ONE
OK

In HotKV Cloud, the CLI tab of the panel does not run SLAVEOF.

Kept for older clients, as in Redis 7 and Valkey 8, with the same differences as REPLICAOF.

REPLICAOF, ROLE

In a cluster: Replicas and failover