ROLE
Syntax
ROLE
Description
Provide information on the role of a Tile38 instance in the context of replication, by returning if the instance is currently a leader or follower. The command also returns additional information about the state of the replication. The responses use the legacy nomenclature "master" and "slave".
Related Commands
CONFIG GET
CONFIG REWRITE
CONFIG SET
FLUSHDB
GC
READONLY
INFO
ROLE
SERVER