diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:32 +0000 |
commit | 7480e618ec785ba8a1c74c8a150cffe5880fb3bb (patch) | |
tree | 87422376dd9a7eee55850f0fce9a8bb4c13e44a2 /iredis/data/commands/flushall.md | |
parent | Adding upstream version 1.12.1. (diff) | |
download | iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.tar.xz iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.zip |
Adding upstream version 1.13.0.upstream/1.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/flushall.md')
-rw-r--r-- | iredis/data/commands/flushall.md | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/iredis/data/commands/flushall.md b/iredis/data/commands/flushall.md index ff454c1..5a562d0 100644 --- a/iredis/data/commands/flushall.md +++ b/iredis/data/commands/flushall.md @@ -1,26 +1,20 @@ -Delete all the keys of all the existing databases, not just the currently -selected one. This command never fails. +Delete all the keys of all the existing databases, not just the currently selected one. +This command never fails. -By default, `FLUSHALL` will synchronously flush all the databases. Starting with -Redis 6.2, setting the **lazyfree-lazy-user-flush** configuration directive to -"yes" changes the default flush mode to asynchronous. +By default, `FLUSHALL` will synchronously flush all the databases. +Starting with Redis 6.2, setting the **lazyfree-lazy-user-flush** configuration directive to "yes" changes the default flush mode to asynchronous. -It is possible to use one of the following modifiers to dictate the flushing -mode explicitly: +It is possible to use one of the following modifiers to dictate the flushing mode explicitly: -- `ASYNC`: flushes the databases asynchronously -- `!SYNC`: flushes the databases synchronously +* `ASYNC`: flushes the databases asynchronously +* `!SYNC`: flushes the databases synchronously -Note: an asynchronous `FLUSHALL` command only deletes keys that were present at -the time the command was invoked. Keys created during an asynchronous flush will -be unaffected. +Note: an asynchronous `FLUSHALL` command only deletes keys that were present at the time the command was invoked. Keys created during an asynchronous flush will be unaffected. @return @simple-string-reply -@history +## Behavior change history -- `>= 4.0.0`: Added the `ASYNC` flushing mode modifier. -- `>= 6.2.0`: Added the `!SYNC` flushing mode modifier and the - **lazyfree-lazy-user-flush** configuration directive. +* `>= 6.2.0`: Default flush behavior now configurable by the **lazyfree-lazy-user-flush** configuration directive.
\ No newline at end of file |