Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Concurrent requests cause data corruption #183
We're seeing weird data corruption issues on queries when more than one http request is happening at a time. Json objects are turning into arrays seemingly at random. For example:
will change into
The values are intact but the object turned into an array. Our actual data is a very large json document and different parts of it will be corrupt on each request.
This goes away completely when we hit our app with sequential http requests. When we test the app with php-fpm and its mongo driver instead of hhvm, it also works.
I suspect there's a locking issue somewhere in the driver. Thoughts?
This issue is being closed, as the MongoDB driver for HHVM is no longer maintained. Please read https://drck.me/hhvm-mongo-da6 for the reasoning behind this decision. If you would like to take over maintenance of the driver, please let me know, and we will see how we can achieve this.