Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error when redis is loading a dataset #27

Open
rodrigoaguilera opened this issue Aug 27, 2019 · 0 comments
Open

Fatal error when redis is loading a dataset #27

rodrigoaguilera opened this issue Aug 27, 2019 · 0 comments

Comments

@rodrigoaguilera
Copy link

I am restarting redis as part of a deploy and the dataset is around 800MB.
If I try to run a drush command just after the redis restart I get the following:

Fatal error: Uncaught RedisException: LOADING Redis 
is loading the dataset in memory in /var/www/html/web/modules/contrib/redis/src/Cache/PhpRedis.php:99

Is there a way to handle the exception more gracefully? Like waiting for the redis server to be ready

I saw this similar issue but it is closed without any resolution
#10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant