[SERVER-14085] Instead of locks use WriteUnitOfWork to avoid partial commits Created: 29/May/14  Updated: 03/Mar/15  Resolved: 27/Oct/14

Status: Closed
Project: Core Server
Component/s: Concurrency
Affects Version/s: None
Fix Version/s: 2.7.6

Type: Improvement Priority: Major - P3
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Tested
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Use WriteUnitOfWork instead of depending on locks and commitIfNeeded() to avoid partial commits



 Comments   
Comment by Githook User [ 04/Sep/14 ]

Author:

{u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14085: Shrink WriteUnitOfWork in DeleteStage::work

This avoids problems for storage engines where committing a transaction
invalidates cursors in that transaction.
Branch: master
https://github.com/mongodb/mongo/commit/86f017917aac53e1adfe991fc21a08416c84d990

Comment by Githook User [ 01/Jul/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert.bosch@mongodb.com'}

Message: SERVER-14085: Start using WriteUnitOfWork
Branch: master
https://github.com/mongodb/mongo/commit/ef3e85d4f5b67c039668cef805459e29711aa636

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