RESET(3valkey)
β¨ RESET β¨
okay bestie, this is the valkey manual page for the reset command, and it is literally the "ctrl+alt+del but for your connection" icon π
πΈ NAME πΈ
reset β resets the connection. that's it. that's the whole vibe. it hits the big red button on your connection's server-side situation π«Ά
π SYNOPSIS π
RESET
no args. no flags. just pure, unfiltered, take-no-arguments RESET. she does not want your input π
π DESCRIPTION π
so here's the tea: this command does a full reset of the connection's server-side context. like, it's mimicking the whole "hang up and call back" move β disconnecting and reconnecting again β except you never actually leave. the glow-up happens in place β¨
when you call it from a regular client connection, it does all of this:
- Discards the current
MULTItransaction block, if one exists. (sorry queen, the transaction is cancelled π«) - Unwatches all keys
WATCHed by the connection. πβοΈ - Disables
CLIENT TRACKING, if in use. - Sets the connection to
READWRITEmode. - Cancels the connection's
ASKINGmode, if previously set. - Sets
CLIENT REPLYtoON. - Sets the protocol version to
RESP2. SELECTs database0. back to basics, back to zero, main character energy π- Exits
MONITORmode, when applicable. - Aborts Pub/Sub's subscription state (
SUBSCRIBEandPSUBSCRIBE), when appropriate. no more listening, we're done streaming π» - Deauthenticates the connection, requiring a call
AUTHto reauthenticate when authentication is enabled. π yeah you're logged out, bestie β you gotta say who you are again - Turns off
NO-EVICTmode. - Turns off
NO-TOUCHmode.
lowkey the most thorough reset ever. it's giving factory settings. it's giving "new phone who dis". fr fr π
π¬ REPLY π¬
valkey-protocol(7) Simple string reply: RESET.
she replies with her own name. iconic. no notes. π
β‘ COMPLEXITY β‘
constant time, baby β instant, snappy, no waiting around β
π ACL CATEGORIES π
@connection @fast
π¦ HISTORY π¦
- Available since:
6.2.0
π₯ SEE ALSO π₯
auth(3valkey), client(3valkey), client-caching(3valkey), client-capa(3valkey), client-getname(3valkey), client-getredir(3valkey), client-help(3valkey), client-id(3valkey), client-import-source(3valkey), client-info(3valkey), client-kill(3valkey), client-list(3valkey), client-no-evict(3valkey), client-no-touch(3valkey), client-pause(3valkey), client-reply(3valkey), client-setinfo(3valkey), client-setname(3valkey), client-tracking(3valkey), client-trackinginfo(3valkey), client-unblock(3valkey), client-unpause(3valkey), echo(3valkey), hello(3valkey), ping(3valkey), quit(3valkey), select(3valkey)
and that's the whole page, bestie!! this was version 9.0.0, dated 2025-10-21, and it's a RESET(3valkey) situation β go forth and reset slayfully πβ¨π
π¦ 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