[BUG] flushall async took 60 seconds in flash use case when the redis.conf configures 256 databases
flushall async took 60 seconds in SSD use case when the redis.conf configures 256 databases
When we configure 256 databases in redis.conf and run with the storage provider use case, the flushall async command takes 60 seconds to complete.
To reproduce
-
Set the following parameters in the configuration:
databases 256 storage-provider flash /root/data
-
Start the server
-
Run "flushall async" from the cli command line
-
The command takes 60 seconds to complete
Expected behavior
It should take less time to "flushall async" even though the number of databases configured is 256.
Additional information
@JohnSully fyi John.
Here is a workaround fix https://github.com/Snapchat/KeyDB/commit/fb0c8e475f02d1391ab5e93af68745e2fbee34f1
Fix released with 6.3.2, thanks @paulmchen!