kevy4.0

SHUTDOWN

Stop the server process (connection drops without a reply).

SHUTDOWN [NOSAVE|SAVE]
Group
Server
Since
1.0.0
Arity
at least 1
Flags
write admin

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

← All commands