[SERVER-28156] mongod crashes with --setParameter replIndexPrefetch=none Created: 01/Mar/17 Updated: 27/Oct/23 Resolved: 04/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | 3.4.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrew Wason | Assignee: | Backlog - Replication Team |
| Resolution: | Gone away | Votes: | 1 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Replication
|
| Operating System: | ALL |
| Participants: |
| Description |
|
Specifying --setParameter replIndexPrefetch=none or --setParameter replIndexPrefetch=_id_only crashes mongod on startup.
|
| Comments |
| Comment by Judah Schvimer [ 04/Jan/20 ] |
|
This parameter went away with mmapv1 ( |
| Comment by Spencer Brody (Inactive) [ 27/Oct/17 ] |
|
Several things about this are interesting. First, the feature is only supported on mmapv1, which is deprecated. Second, there are two ways to control this feature. There's a --replIndexPrefetch command line option, which correctly sets the behavior at startup. There is also a setParameter, which correctly controls the behavior at runtime, but if provided at the command line causes the server to crash during startup. Since the feature is still in use on mmapv1, I propose that the minimum work short term fix is to change the setParamter to be a runtime-only parameter. Then this whole functionality can be removed when mmapv1 is removed down the road. |
| Comment by Daniel Pasette (Inactive) [ 31/Jul/17 ] |
|
this has been absolutely broken since 3.2.0. we should create a DOCS ticket to remove and rip out the code for it too. |
| Comment by Mark Agarunov [ 01/Mar/17 ] |
|
Hello rectalogic, Thank you for the report. We were able to reproduce this issue and are investigating further. We will update the ticket with any new information as it becomes available. Thanks, |