content/commands/reset.md
This command performs a full reset of the connection's server-side context, mimicking the effect of disconnecting and reconnecting again.
When the command is called from a regular client connection, it does the following:
MULTI]({{< relref "/commands/multi" >}}) transaction block, if one exists.WATCH]({{< relref "/commands/watch" >}})ed by the connection.CLIENT TRACKING]({{< relref "/commands/client-tracking" >}}), if in use.READWRITE]({{< relref "/commands/readwrite" >}}) mode.ASKING]({{< relref "/commands/asking" >}}) mode, if previously set.CLIENT REPLY]({{< relref "/commands/client-reply" >}}) to ON.SELECT]({{< relref "/commands/select" >}})s database 0.MONITOR]({{< relref "/commands/monitor" >}}) mode, when applicable.SUBSCRIBE]({{< relref "/commands/subscribe" >}}) and [PSUBSCRIBE]({{< relref "/commands/psubscribe" >}})), when
appropriate.AUTH]({{< relref "/commands/auth" >}}) to reauthenticate when
authentication is enabled.NO-EVICT mode.NO-TOUCH mode.| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |
{{< multitabs id="reset-return-info" tab1="RESP2" tab2="RESP3" >}}
Simple string reply: RESET.
-tab-sep-
Simple string reply: RESET.
{{< /multitabs >}}