Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
*Location*: http://docs.mongodb.org/manual/tutorial/update-if-current/
*User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36
*Referrer*: http://docs.mongodb.org/manual/core/write-operations-atomicity/
*Screen Resolution*: 3200 x 1800
*repo*: docs
*source*: tutorial/update-if-current
*Location*: http://docs.mongodb.org/manual/tutorial/update-if-current/ *User-Agent*: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 *Referrer*: http://docs.mongodb.org/manual/core/write-operations-atomicity/ *Screen Resolution*: 3200 x 1800 *repo*: docs *source*: tutorial/update-if-current
Description
This technique says it only updates the document if the fields haven't changed. But actually it updates the document if the fields are found to be the same. It does not know whethere they changed in the meantime.
This is the ABA problem.