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

get() can return invalid values after a PHP OOM #111

Open
WPprodigy opened this issue Jul 17, 2023 · 1 comment
Open

get() can return invalid values after a PHP OOM #111

WPprodigy opened this issue Jul 17, 2023 · 1 comment

Comments

@WPprodigy
Copy link

WPprodigy commented Jul 17, 2023

If a php request OOM's while requesting a key from memcached, then the next request (using persistent connections) will be given the value for that last request regardless of what key it actually requested. This obviously results in very unfun behavior application-side 😬

I've created a repo for easy replication: https://github.com/WPprodigy/memcache-inconsistency-debugging, using the latest release of this extension.

@WPprodigy
Copy link
Author

This is likely the same thing that was reported here: https://bugs.php.net/bug.php?id=74235. I wanted to open up a Github issue to help others that are looking for an explanation to some pretty maddening behavior :)

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