SHUTDOWN
Stop the server process (connection drops without a reply).
SHUTDOWN [NOSAVE|SAVE]
Complexity
O(1) to trip the stop flag; the drain that follows is O(N)
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Differs
only SHUTDOWN [NOSAVE|SAVE] parses — NOW, FORCE and ABORT are a syntax error
See also
BGREWRITEAOFBGSAVECLIENTCLUSTERCOMMANDCONFIGDBSIZEDEBUGFLUSHALLFLUSHDBINFOMEMORYSAVESLOWLOG