[SERVER-25725] Running {setFeatureCompatibilityVersion: "3.4"} on a 3.4 primary should kill 3.2 secondaries Created: 22/Aug/16  Updated: 02/Dec/16  Resolved: 20/Sep/16

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.3.14

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

Issue Links:
Depends
depends on SERVER-25156 Create index version V2 Closed
Documented
is documented by DOCS-9434 Docs for SERVER-25725: Running {setFe... Closed
Gantt Dependency
has to be done after SERVER-25969 When featureCompatibilityVersion is 3... Closed
Related
related to SERVER-26335 Initial sync with buildIndexes=false ... Closed
related to SERVER-26179 Do not join the TaskRunner within a r... Closed
Backwards Compatibility: Minor Change
Sprint: TIG 2016-10-10, Query 2016-08-29, Query 2016-09-19
Participants:

 Description   

Create a v=2 index on the "admin.system.version" collection when the featureCompatibilityVersion is set to 3.4. Versions of MongoDB earlier than 3.4 will fail create a v=2 index during steady-state replication. The index should be removed when the featureCompatibilityVersion is set to 3.2.

In order to address how the implementation of initial sync on the 3.2 branch uses Cloner::copydb(), which automatically "upgrades" (i.e. silently discards) the index version and builds all indexes with the default index version of the node copying the data, the index version of the v=2 index should be returned as a decimal value in the "listIndexes" command response to prevent a 3.2 secondary from performing initial sync from a 3.4 mongod with featureCompatibilityVersion=3.4.



 Comments   
Comment by Githook User [ 20/Sep/16 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-25725 Kill 3.2 secondaries when featureCompatibilityVersion=3.4.

Creates a v=2 index on the "admin.system.version" collection when the
featureCompatibilityVersion is set to 3.4. The index version of this
index is returned as a decimal value in the "listIndexes" command
response in order to prevent 3.2 secondaries from performing initial
sync from a 3.4 mongod with featureCompatibilityVersion=3.4.
Branch: master
https://github.com/mongodb/mongo/commit/96a21e63bfc1a1cdde01c671d0867310c594ea5a

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