[SERVER-31634] FeatureCompatibilityVersion::setIfCleanStartup() should store FCV=3.4 for shardsvrs Created: 18/Oct/17  Updated: 30/Oct/23  Resolved: 24/Oct/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.6.0-rc2

Type: Task Priority: Major - P3
Reporter: Tess Avitabile (Inactive) Assignee: Tess Avitabile (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-31254 Fail initial sync if fCV targetVersio... Closed
Related
is related to SERVER-46571 Shard server replica set nodes should... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-11-13
Participants:
Linked BF Score: 50

 Description   

A standalone or replica set started with shardsvr currently does not write a featureCompatibilityVersion on clean startup. It should write a featureCompatibilityVersion 3.4 document. This is safe, since there will be no 3.6 features to strip out if the shard is added to an FCV=3.4 cluster. This is important, because in 3.6, we require the featureCompatibilityVersion document to be present.



 Comments   
Comment by Githook User [ 24/Oct/17 ]

Author:

{'email': 'tess.avitabile@mongodb.com', 'name': 'Tess Avitabile', 'username': 'tessavitabile'}

Message: SERVER-31634 FeatureCompatibilityVersion::setIfCleanStartup() should store FCV=3.4 for shardsvrs
Branch: master
https://github.com/mongodb/mongo/commit/5d4b316b243757029b78bc7b4db91de4f6197931

Comment by Maria van Keulen [ 19/Oct/17 ]

Note that as of SERVER-31137, we invariant during startup that the in-memory version parameter is initialized. As part of this ticket, the clause that excludes nodes with serverGlobalParams.clusterRole == ClusterRole::ShardServer from the check should be removed.

Generated at Thu Feb 08 04:27:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.