[SERVER-47931] Creation of *.system.profile collection should retry on WriteConflicts Created: 04/May/20 Updated: 29/Oct/23 Resolved: 14/May/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.0-rc6, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Dianna Hohensee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.4
|
||||||||
| Sprint: | Execution Team 2020-05-18 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 15 | ||||||||
| Description |
|
If concurrent operations try to create the "*.system.profile" collection at the same time, all but one will get a WriteConflictException here. This can cause a command to fail while profiling, even though the underlying operation may have actually succeeded. The collection creation here needs a writeConflictRetry loop. |
| Comments |
| Comment by Dianna Hohensee (Inactive) [ 14/May/20 ] |
|
Our commit hook didn't fire for some reason. Writing it myself Message: (cherry picked from commit 40c0fa9c0a3cf5d3d2ee16fe301c262946ececa8) |
| Comment by Githook User [ 14/May/20 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 40c0fa9c0a3cf5d3d2ee16fe301c262946ececa8) |
| Comment by Louis Williams [ 04/May/20 ] |
|
This likely started happening after |