Skip to content

Commit 884da6c

Browse files
LiorKogandwdoughertyandy-stark-redis
authored
flush-commands-docs (#872)
* flush-commands-docs * Update index.md * Apply review comments. * Update index.md * Apply review comments. * Apply review comments. Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> --------- Co-authored-by: David Dougherty <david.dougherty@redis.com> Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
1 parent ed04156 commit 884da6c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

content/commands/flushall/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ It is possible to use one of the following modifiers to dictate the flushing mod
6666

6767
* 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.
6868
* This command does not delete functions.
69+
* Other than emptying all databases (similar to `FLUSHDB`), this command clears the RDB persistence file, aborts any snapshot that is in progress, and, if the `save` config is enabled, saves an empty RDB file.
6970

7071
## Behavior change history
7172

content/commands/flushdb/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ It is possible to use one of the following modifiers to dictate the flushing mod
6666

6767
* An asynchronous `FLUSHDB` command only deletes keys that were present at the time the command was invoked. Keys created during an asynchronous flush will be unaffected.
6868
* This command does not delete functions.
69+
* When using Redis Cluster, this command is identical to `FLUSHALL` since a Redis Cluster supports only one database with an ID of zero.
6970

7071
## Behavior change history
7172

0 commit comments

Comments
 (0)