-
Notifications
You must be signed in to change notification settings - Fork 329
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
Empty entities loaded from Redis second level cache #272
Comments
Is this still pending? Have you found an alternative solution? (because I'd like to do it too) |
I don't know if anyone does anything about it, but it seems not. |
it is very strange bug, somewhere between doctrine, redis bundle and redis. tried
I had to go to redis and call
edit 2018-03-07 - new debug info |
If anyone is still having issues here - please remember that Doctrine Second Level Cache is currently marked experimental and may or may not work correctly in any environment. From what I'm reading here I suspect there's no real issue on our end and it's just the cache itself occasionally borking up...? |
Having the same issue using APCU driver so it's not Redis specific. |
Ok, thanks for confirming my suspicion there @vitalicwow. I'll close the issue here and consider it a Doctrine problem. |
We configured redis some weeks ago in our test environment and it was working fine.
Now we try to use it in our prod environment, we've got issues.
Sometimes, some of our users are empty and when we try to get informations, it crash our app.
Example :
When we call :
Symfony screams that getLanguage returns null (But the user have a language and without redis, it works fine)
There is the config :
On user :
`
I don't understand why my entities are empty, and when I clear the redis cache, the page can be loaded again. (And the problem would appear again in a few hours)
The text was updated successfully, but these errors were encountered: