[SERVER-11922] background index build does not persist when server is shut down cleanly Created: 02/Dec/13 Updated: 11/Jul/16 Resolved: 14/Jan/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
If you shut the server down cleanly during a background index build, it essentially calls killOp() on every operation, which causes the bg index build to abort the same way as if you killed it by hand with killOp(). So if someone shut down a secondary while it was building an index in the background, the index would be lost. |