[SERVER-36474] Cannot initiate a replica set if free monitoring is disabled at command-line Created: 06/Aug/18 Updated: 29/Oct/23 Resolved: 27/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.0.0 |
| Fix Version/s: | 4.0.3, 4.1.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 2 |
| 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
|
||||||||||||||||
| Sprint: | Platforms 2018-08-27 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
If a node is started up with "--replSet free --enableFreeMonitoring=off" and the rs.initiate() is called, mongod crashes. |
| Comments |
| Comment by Githook User [ 29/Aug/18 ] | |||||||||||||||||||||||||||||
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: | |||||||||||||||||||||||||||||
| Comment by Githook User [ 27/Aug/18 ] | |||||||||||||||||||||||||||||
|
Author: {'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}Message: | |||||||||||||||||||||||||||||
| Comment by NOVALUE Mitar [ 10/Aug/18 ] | |||||||||||||||||||||||||||||
|
Ben, I am glad that we are experiencing this issue at the same time. | |||||||||||||||||||||||||||||
| Comment by Ben Newman [ 09/Aug/18 ] | |||||||||||||||||||||||||||||
|
I'm running these commands on OSX/darwin, by the way. On Linux, the same command gives
Despite being the same version of mongod:
Something tells me this free monitoring feature wasn't fully tested before it was included in the 4.0 release. Looking forward to the next update. | |||||||||||||||||||||||||||||
| Comment by Ben Newman [ 09/Aug/18 ] | |||||||||||||||||||||||||||||
|
I tried running the command in lldb, and it seems to be crashing on this line:
| |||||||||||||||||||||||||||||
| Comment by Ben Newman [ 09/Aug/18 ] | |||||||||||||||||||||||||||||
|
Also seeing this behavior with Mongo 4.0.0:
works as usual, but
crashes with a segmentation fault:
|