[SERVER-81487] Add comments that acquireCollection() and AutoGet() can throw WriteConflictExceptions Created: 27/Sep/23 Updated: 03/Nov/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Backlog - Catalog and Routing |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | car-qw | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Catalog and Routing
|
||||
| Participants: | |||||
| Linked BF Score: | 133 | ||||
| Story Points: | 1 | ||||
| Description |
|
This means acquireCollection() and AutoGetCollection() can both throw WriteConflictException when establishing a collection snapshot. There are several places in the code that don't wrap acquireCollection() in a writeConflictRetry(), but use writeConflictRetry() in the lines following the acquisition. |
| Comments |
| Comment by Haley Connelly [ 28/Sep/23 ] |
|
|