[SERVER-52521] disallow downgrades in the presence of time-series collections Created: 31/Oct/20  Updated: 29/Oct/23  Resolved: 16/Nov/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-56171 Remove time-series downgrade logic Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-11-16, Execution Team 2020-11-30
Participants:

 Description   

Time-series collections are incompatible with earlier versions of MongoDB and must be dropped before downgrading. Creation of time-series collections requires a fully upgraded system that successfully ran the setFeatureCompatibilityVersion: "5.0" command.
Attempted downgrade using setFeatureCompatibilityVersion: "4.4" in presence of time-series collections results in an error.
Starting an older mongod with datafiles from a new mongod that supports time-series collections, the regular FCV mechanism provides a descriptive error message.



 Comments   
Comment by Githook User [ 14/Nov/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-52521 disallow downgrades in the presence of time-series collections
Branch: master
https://github.com/mongodb/mongo/commit/828266b8c7b99e54aa172ccb89aadcdb7d1e6a37

Comment by Githook User [ 14/Nov/20 ]

Author:

{'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}

Message: SERVER-52521 add js test for fcv downgrade in the presence of time-series collections
Branch: master
https://github.com/mongodb/mongo/commit/0ac45dc9e40686bde1be3b578aa80499cc25848b

Generated at Thu Feb 08 05:28:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.