-
Type:
Bug
-
Resolution: Works as Designed
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 3.4.14
-
Component/s: Sharding, Upgrade/Downgrade
-
None
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Starting a new single member 3.4.14 replica set with no data, and the configuration includes sharding.clusterRole: shardsvr, causes the featureCompatibilityVersion to be reported as "3.2".
Removing the sharding.clusterRole: shardsvr option and restarting the mongod does not change the FCV to "3.4".
However starting a new single member replica set (no data) without shardsvr works correctly, showing FCV of "3.4", and restarting it with shardsvr also still shows FCV of "3.4".
Note that there is no FCV document in admin.system.version during all this. Running setFeatureCompatibilityVersion: "3.4" works to set the FCV to 3.4, so this issue is only about what FCV is assumed when you start a brand new replica set.