I write RESTfull service with Eve.
When I run Eve by gunicorn with several workers count and modify different fields of the same document with PATCH method,
I have a side effect - Eve returns status code 200 but document in mongodb doesn't change. (It probably related with blocked item on mongodb side, when one of threads do update operation)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I write RESTfull service with Eve. When I run Eve by gunicorn with several workers count and modify different fields of the same document with PATCH method, I have a side effect - Eve returns status code 200 but document in mongodb doesn't change. (It probably related with blocked item on mongodb side, when one of threads do update operation)
In module eve.io.mongo.mongo.py in line 482 database operation result don`t check, but it return from PyMongo (http://api.mongodb.com/python/current/api/pymongo/results.html)