CLUSTER-MYID(3valkey)

πŸ“¦
version 9.0.6 Β· 2 versions
, in fedora 44

πŸ’– CLUSTER-MYID πŸ’–

okay bestie, welcome to the Valkey Command Manual page for cluster-myid β€” she's a 3valkey girlie and she's about to tell you literally who she is πŸͺͺ✨


✨ NAME ✨

cluster-myid β€” Returns the ID of a node.

fr fr that's the whole job. she hands you the ID. iconic behavior.


🌸 SYNOPSIS 🌸

CLUSTER MYID

that's it. no args. no options. no drama. clean girl aesthetic πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Returns the node's id.

The CLUSTER MYID command returns the unique, auto-generated identifier that is associated with the connected cluster node.

so like… every node in the cluster got its own little name tag at birth and it never changes, and this command is how you ask "hey bestie, what's your name tag?" πŸŽ€ and she tells you. no cap.


πŸ’Œ REPLY πŸ’Œ

valkey-protocol(7) Bulk string reply: the node ID.

just a big ol' string with the ID in it. that's the whole reply. she's not mysterious, she's just direct 🫢


πŸ‘‘ COMPLEXITY πŸ‘‘

O(1)

constant time, babe. instant. zero effort. main character efficiency ⭐


πŸ”₯ ACL CATEGORIES πŸ”₯

  • @slow

yes she's filed under @slow even though she's O(1). the category system said so and we don't argue with the category system πŸ™ˆ


🧚 HISTORY 🧚

  • Available since: 3.0.0

she's been here since 3.0.0, an OG, a legend, a founding mother πŸ’œ


🌈 SEE ALSO 🌈

the whole squad, the entire group chat, everyone's invited:


lowkey the shortest manpage you'll ever read and honestly? she ate. periodt. πŸ“

version 9.0.0 Β· dated 2025-10-21 Β· that's a wrap bestie, go get your node ID and slay πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from