Skip to content

Commit

Permalink
Add notes of :0@0 addresses in CLUSTER NODES (#2643)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjosv authored Jan 16, 2024
1 parent ab5db30 commit e54befc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/cluster-nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ Each line is composed of the following fields:
The meaning of each field is the following:

1. `id`: The node ID, a 40-character globally unique string generated when a node is created and never changed again (unless `CLUSTER RESET HARD` is used).
2. `ip:port@cport`: The node address that clients should contact to run queries.
2. `ip:port@cport`: The node address that clients should contact to run queries, along with the used cluster bus port.
`:0@0` can be expected when the address is no longer known for this node ID, hence flagged with `noaddr`.
3. `hostname`: A human readable string that can be configured via the `cluster-annouce-hostname` setting. The max length of the string is 256 characters, excluding the null terminator. The name can contain ASCII alphanumeric characters, '-', and '.' only.
5. `flags`: A list of comma separated flags: `myself`, `master`, `slave`, `fail?`, `fail`, `handshake`, `noaddr`, `nofailover`, `noflags`. Flags are explained below.
6. `master`: If the node is a replica, and the primary is known, the primary node ID, otherwise the "-" character.
Expand Down

0 comments on commit e54befc

Please sign in to comment.