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

getParameter for featureCompatibilityVersion on uninitialized replica set member causes crash on MongoDB 3.7.5

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • 3.7.5
    • 3.7.6
    • Upgrade/Downgrade
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2018-04-23

    Description

      Trying to retrieve the featureCompatibilityVersion for an uninitialized replica set member on MongoDB 3.7.5 results in an invariant failure.

      To reproduce:

      1. Start with a basic configuration for the first node of a replica set /usr/local/mongo375/bin/mongod --dbpath 375 --replSet foo --port 27000
      2. Connect to it and run db.runCommand({getParameter:1, featureCompatibilityVersion:1})
      3. Check mongod logs for invariant failures

      2018-04-20T19:56:09.052+0000 F -        [conn1] Invariant failure isVersionInitialized() src/mongo/db/server_options.h 207
      

      Full log attached.

      Attachments

        Issue Links

          Activity

            People

              maria.vankeulen@mongodb.com Maria van Keulen
              cailin.nelson@mongodb.com Cailin Nelson
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: