[SERVER-69677] Add warning to index build unexpected error code invariant and only enable in debug builds Created: 14/Sep/22 Updated: 29/Oct/23 Resolved: 19/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc3, 6.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Execution Team 2022-09-19, Execution Team 2022-10-03 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
The Unexpected error code during index build shutdown invariant is the symptom of many server crashes and problems. Its existence points to a design flaw of two-phase simultanous index builds. However, adding more exemptions to this invariant is also incorrect and should point to a bug. Add a warning above this invariant explaining why it is a bad idea to add new exemptions and how to work around this invariant failing. |
| Comments |
| Comment by Githook User [ 16/Sep/22 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: Outside of testing, we no longer fail with an invariant, but log a warning. |