[SERVER-34108] Rebuilding unfinished unindexes one at a time can error Created: 23/Mar/18 Updated: 29/Oct/23 Resolved: 12/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance, Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Gottlieb (Inactive) | Assignee: | Daniel Gottlieb (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 | ||||||||
| Sprint: | Repl 2018-04-23 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 13 | ||||||||
| Description |
|
At startup, all unfinished indexes are rebuilt. However, the code rebuilds them one index at a time. If there are multiple unfinished indexes `checkUnfinished` will return an error, that in this case, crashes the server. Alternatively, the index rebuilding code for opening the catalog rebuilds all indexes simultaneously. |
| Comments |
| Comment by Githook User [ 12/Apr/18 ] |
|
Author: {'email': 'daniel.gottlieb@mongodb.com', 'name': 'Daniel Gottlieb', 'username': 'dgottlieb'}Message: Index builds have a quirk that the only "unfinished" indexes allowed on a |