kevy4.0

ROLE

Report the replication role and state of this server.

ROLE
Group
Replication
Since
1.0.0
Arity
exactly 1
Flags
readonly

Complexity

O(1) on a replica; O(R) on a primary

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Compatible

Behaves as Redis does.

See also

FAILOVERREPL.TOKENREPL.WAITREPLICAOFSLAVEOFWAIT

← All commands