[SERVER-31345] replace SnapshotManager retry loop with throwing a WriteConflictException Created: 02/Oct/17  Updated: 30/Oct/23  Resolved: 09/Oct/17

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Daniel Gottlieb (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Storage 2017-10-23
Participants:

 Description   

In beginTransactionOnOplog, the code retries 1000 times if an error occurs when starting a transaction. Instead, we should throw a WCE and let that loop do the retrying.



 Comments   
Comment by Githook User [ 09/Oct/17 ]

Author:

{'email': 'daniel.gottlieb@mongodb.com', 'name': 'Daniel Gottlieb', 'username': 'dgottlieb'}

Message: SERVER-31345: Throw a WCE when the oldest timestamp races ahead of the read concern majority timestamp.
Branch: master
https://github.com/mongodb/mongo/commit/a34daf83372ee4f0f756a86788c9cfbd99db100f

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