You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
master: If the node is a replica, and the primary is known, the primary node ID, otherwise the "-" character.
Before reading this carefully, I thought there are only two cases:
The node is a master and there is a dash.
The node is a replica and there is its master's ID.
Interpreting the statement strictly, however, it seems possible that the node is a replica but the primary is unknown, in which case the dash character will appear.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
From https://redis.io/commands/cluster-nodes/
Before reading this carefully, I thought there are only two cases:
Interpreting the statement strictly, however, it seems possible that the node is a replica but the primary is unknown, in which case the dash character will appear.
Am I taking it right?
Beta Was this translation helpful? Give feedback.
All reactions