Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-84132

mongod.exe fails to start if cloud.monitoring.free.state is present in mongod.cfg

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 6.0.12
    • Component/s: None
    • None
    • ALL

      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.

       

       

       

            Assignee:
            eric.sedor@mongodb.com Eric Sedor
            Reporter:
            lejsekt@gmail.com Tadeas Lejsek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: