[SERVER-79713] Assign error code name to error 6371402 (limited findAndModify with QE) Created: 04/Aug/23 Updated: 26/Sep/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Anna Henningsen | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Optimization
|
||||||||
| Participants: | |||||||||
| Description |
|
We make use of this error code in Compass to initiate a fallback from findAndModify with new: true to updateOne + a subsequent regular find (the lack of atomicity is okay in this case, but we still want to reduce round trips where possible). Assigning an error code name would make this check more reliable. |