Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Duplicate
-
2.8.0-rc5
-
None
-
None
-
2.8.0-rc5, wiredTiger storage engine only
-
ALL
-
Description
A test program that starts five threads, each repeatedly upserting a document with the same _id to a collection that doesn't initially contain a document with that _id, will encounter duplicate key errors on the first attempt from 0-4 of the five threads, depending on timing.
Attachments
Issue Links
- duplicates
-
SERVER-14322 Retry on predicate unique index violations of update + upsert -> insert when possible
-
- Closed
-
- is duplicated by
-
SERVER-20380 Upsert is not atomic when inserting
-
- Closed
-