[DOCS-12234] Docs for SERVER-37124: Retry full upsert path when duplicate key exception matches exact query predicate Created: 03/Dec/18  Updated: 13/Nov/23  Resolved: 17/May/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.6, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-37124 Retry full upsert path when duplicate... Closed
Related
is related to SERVER-14322 Retry on predicate unique index viola... Closed
Participants:
Days since reply: 4 years, 38 weeks, 5 days ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

No documentation summary in engineering ticket

Engineering Ticket Description:

Subset of cases described in SERVER-14322 that can be safely retried as an upsert is when insert portion of update receives a duplicate key exception with duplicate key-values combination matching the query exactly.

Example:

db.foo.update({_id:5},{$set:{...}\},{upsert:true})

can safely retry full upsert if it receives error

"E11000 duplicate key error collection: bar.foo index: id dup key: { : 5.0 }"

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 17/May/19 ]

Author:

{'email': 'ravind.kumar@mongodb.com', 'name': 'rk-mongo'}

Message: DOCS-12234: Retry full upsert path when duplicate key exception matches exact query predicate
Branch: master
https://github.com/mongodb/docs/commit/b73519fbffb61ea491321fb5d15e6882dc04e61a

Generated at Thu Feb 08 08:04:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.