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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 3.7.6
    • Affects Version/s: 3.7.5
    • Component/s: Upgrade/Downgrade
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2018-04-23

      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.

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

              Created:
              Updated:
              Resolved: