[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: |