[SERVER-84132] mongod.exe fails to start if cloud.monitoring.free.state is present in mongod.cfg Created: 13/Dec/23  Updated: 13/Dec/23

Status: Investigating
Project: Core Server
Component/s: None
Affects Version/s: 6.0.12
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Tadeas Lejsek Assignee: Eric Sedor
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by SERVER-78987 Remove the free monitoring code from ... Closed
Operating System: ALL
Participants:

 Description   

Hi,

I've tried updating a win mongo db deployment from version 6.0.6 to 6.0.12 and the server fails to start. My mongod.cfg contains: 

cloud:
    monitoring:
        free:
            state:
                off 

The error message is:

Unrecognized option: cloud.monitoring.free.state

The documentation no longer contains the "cloud" section. https://www.mongodb.com/docs/v6.0/reference/configuration-options/

This seems to me as a pretty unexpected breaking change between bug fix versions. I also didn't find a mention of it in the release notes https://www.mongodb.com/docs/manual/release-notes/6.0/

The expected behavior would perhaps be a warning in the mongod log.

 

 

 



 Comments   
Comment by Eric Sedor [ 13/Dec/23 ]

Apologies lejsekt@gmail.com. This looks like an unintended consequence of SERVER-78987 in 6.0.10. You're right that ideally we should not break existing configs in a maintenance release.

Generated at Thu Feb 08 06:54:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.