-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
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:
- Start with a basic configuration for the first node of a replica set /usr/local/mongo375/bin/mongod --dbpath 375 --replSet foo --port 27000
- Connect to it and run db.runCommand({getParameter:1, featureCompatibilityVersion:1})
- 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.
- is related to
-
SERVER-34601 dassert rather than invarianting when attempting to access uninitialized featureCompatibilityVersion
- Closed