Handle "LOADING Redis is loading the dataset in memory"
See original GitHub issueHi,
When a slave is first being connected to a master it needs to load the entire DB, which takes time.
Any command that is send to that slave during this time will receive a LOADING Redis is loading the dataset in memory
response.
I think we should handle this and retry the command (Maybe even to a different node within the same slot).
@luin thoughts?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:20 (5 by maintainers)
Top Results From Across the Web
ERROR: LOADING Redis is loading the dataset in memory
In short, the error “LOADING Redis is loading the dataset in memory” occurs at Redis master startup or when the slave reconnects and...
Read more >LOADING Redis is loading the dataset in memory (Redis
This really means Redis is still loading data. If Redis is running in --append-only mode, database file ( appendonly.aof ) will only get...
Read more >Redis is loading the dataset in memory - python - Stack Overflow
Here I am handling the reconfiguration of the nodes. import redis # Initialize on system boot slave_node_1: redis.Redis = None slave_node_2: ...
Read more >KeyDB Active Replica - LOADING Redis is loading the dataset ...
This results in errors like: LOADING Redis is loading the dataset in memory. The whole idea of this active replica setup is that...
Read more >LOADING Redis is loading the dataset in memory - Drupal
Do you really have a setup with multiple redis nodes? If it's just one then it is more likely that you have a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @luin , I just encountered this issue again, and I think we should see how we can fix it.
@shaharmor Mac OS: