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

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 3.7.5
    • Fix Version/s: 3.7.6
    • Component/s: Upgrade/Downgrade
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: