[SERVER-38748] Background indexes created through applyOps should run on the command thread Created: 21/Dec/18 Updated: 29/Oct/23 Resolved: 16/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.6.9, 4.0.5, 4.1.6 |
| Fix Version/s: | 3.6.11, 4.0.7, 4.1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | James Wahlin | 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 | ||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||||||||||||||||||||||
| Steps To Reproduce: | The following test reproduces this issue:
|
||||||||||||||||||||||||||||
| Sprint: | Storage NYC 2019-01-14, Storage NYC 2019-01-28 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Linked BF Score: | 6 | ||||||||||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||||||||||
| Description |
|
Fatal Assertion 50769 on invalid replicated index build, created via applyOps |
| Comments |
| Comment by Githook User [ 18/Feb/19 ] |
|
Author: {'name': 'Louis Williams', 'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com'}Message: (cherry picked from commit 9c49d721526ac83ada34950841ceef5b0b48c3c5) |
| Comment by Githook User [ 18/Feb/19 ] |
|
Author: {'name': 'Louis Williams', 'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com'}Message: (cherry picked from commit 9c49d721526ac83ada34950841ceef5b0b48c3c5) |
| Comment by Githook User [ 16/Jan/19 ] |
|
Author: {'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams'}Message: |
| Comment by Louis Williams [ 15/Jan/19 ] |
|
This is a regression introduced by |
| Comment by Louis Williams [ 11/Jan/19 ] |
|
Background indexes built through applyOps on primaries should build in the foreground thread, not in the background, because errors cannot be caught. This will be fixed by |