Available since: 6.2.0
Time complexity: O(1)
ACL categories:
@fast
@connection
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
transaction block, if one exists.WATCH
ed by the connection.CLIENT TRACKING
, if in use.READWRITE
mode.ASKING
mode, if previously set.CLIENT REPLY
to ON
.SELECT
s database 0.MONITOR
mode, when applicable.SUBSCRIBE
and PSUBSCRIBE
), when
appropriate.AUTH
to reauthenticate when
authentication is enabled.Simple string reply: always 'RESET'.