• Yossi Gottlieb's avatar
    Add RESET command. (#7982) · 1fd456f9
    Yossi Gottlieb authored
    
    
    Perform full reset of all client connection states, is if the client was
    disconnected and re-connected. This affects:
    
    * MULTI state
    * Watched keys
    * MONITOR mode
    * Pub/Sub subscription
    * ACL/Authenticated state
    * Client tracking state
    * Cluster read-only/asking state
    * RESP version (reset to 2)
    * Selected database
    * CLIENT REPLY state
    
    The response is +RESET to make it easily distinguishable from other
    responses.
    Co-authored-by: default avatarOran Agra <oran@redislabs.com>
    Co-authored-by: default avatarItamar Haber <itamar@redislabs.com>
    1fd456f9
other.tcl 9.22 KB