CLUSTER-MYID(3valkey)
π 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 π
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:
asking(3valkey)cluster(3valkey)cluster-addslots(3valkey)cluster-addslotsrange(3valkey)cluster-bumpepoch(3valkey)cluster-cancelslotmigrations(3valkey)cluster-count-failure-reports(3valkey)cluster-countkeysinslot(3valkey)cluster-delslots(3valkey)cluster-delslotsrange(3valkey)cluster-failover(3valkey)cluster-flushslots(3valkey)cluster-forget(3valkey)cluster-getkeysinslot(3valkey)cluster-getslotmigrations(3valkey)cluster-help(3valkey)cluster-info(3valkey)cluster-keyslot(3valkey)cluster-links(3valkey)cluster-meet(3valkey)cluster-migrateslots(3valkey)cluster-myshardid(3valkey)cluster-nodes(3valkey)cluster-replicas(3valkey)cluster-replicate(3valkey)cluster-reset(3valkey)cluster-saveconfig(3valkey)cluster-set-config-epoch(3valkey)cluster-setslot(3valkey)cluster-shards(3valkey)cluster-slot-stats(3valkey)cluster-slots(3valkey)cluster-syncslots(3valkey)readonly(3valkey)readwrite(3valkey)
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
- fedora 44: valkey-doc 9.0.3-2.fc44 Β· CC-BY-SA-4.0
- fedora 44: valkey-doc 9.0.6-1.fc44 Β· CC-BY-SA-4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms