[SERVER-15892] Deadlock exceptions not caught in findAndModify Created: 30/Oct/14  Updated: 11/Jul/16  Resolved: 04/Nov/14

Status: Closed
Project: Core Server
Component/s: Concurrency
Affects Version/s: None
Fix Version/s: 2.8.0-rc0

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-15883 Deadlock exceptions thrown during del... Closed
related to SERVER-15850 DeadlockExceptions thrown during mult... Closed
Operating System: ALL
Participants:

 Description   

FindAndModify uses the same delete codepath as batch_executor.cpp, however it does not retry deadlock exceptions. Updates may be similarly affected.



 Comments   
Comment by Johnny Shields [ 28/May/15 ]

Would like to check the "Affects Versions"--can this bug affect MongoDB 2.4.x?

Comment by Githook User [ 04/Nov/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-15892: catch WriteConflictException in findAndModify
Branch: master
https://github.com/mongodb/mongo/commit/b8a215b51246448c2a2cafd715466e4a90319a9a

Generated at Thu Feb 08 03:39:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.