Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Atomic Concurrency Checks #1231
Multiple concurrent patches to the same record, from different processes, should result in at least one patch failing with a 412 error (Precondition Failed)
Minimal example will be submitted via a P/R test case shortly.
If multiple patch requests are both processed at the same time in different processes, multiple conflicting patches will succeed with a 200, resulting in data inconsistency.
Prior to commit 54fd697 from 2016-November, ETags would be verified
When running Eve in a scale-out environment (multiple processes),
There is a critical section in patch_internal() between get_document()
I am working on a pull request that contains a proposed patch and a simple