redis FLUSHALL ASYNC 命令是否阻止调用者?
Does redis FLUSHALL ASYNC command block the caller?
我知道使用 FLUSHALL ASYNC
会在 redis 中启动一个新线程来进行清理。但是命令returns时redis是什么状态呢?我想确保在发出命令后,任何进一步的操作都在新刷新的数据库上。
Does redis FLUSHALL ASYNC command block the caller?
没有。来电者会立即return。
I want to be sure that after issuing the command, any further operations are on the freshly flushed DB
是的,您保证任何进一步的命令都将在新数据库上运行。
我知道使用 FLUSHALL ASYNC
会在 redis 中启动一个新线程来进行清理。但是命令returns时redis是什么状态呢?我想确保在发出命令后,任何进一步的操作都在新刷新的数据库上。
Does redis FLUSHALL ASYNC command block the caller?
没有。来电者会立即return。
I want to be sure that after issuing the command, any further operations are on the freshly flushed DB
是的,您保证任何进一步的命令都将在新数据库上运行。