Description
Description
Since there has been some behavioral change that I have not seen mention anywhere, I have been trying to find a good way to handle LOADING Redis is loading the dataset in memory
errors when restarting from a large rdb file. Something that apparently was handled differently in past releases (either Redis or npm redis).
One of the methods I had intended to use is the client.isReady.
Unfortunately it seems to return true even when redis is still not quite ready.
Replication steps:
Fill a redis server with junk data, enough for it to take a few seconds to load from disk.
Write a script that connects to it and once the client.isReady
returns true, attempt a PING command.
You'll find that it still fails to LOADING Redis is loading the dataset in memory
Node.js Version
16.20.2
Redis Server Version
7.2.3
Node Redis Version
4.6.8
Platform
No response
Logs
No response