[SERVER-41257] Disallow 4.2 expressions within persisted structures in FCV 4.0 Created: 21/May/19  Updated: 29/Oct/23  Resolved: 22/May/19

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Upgrade/Downgrade
Affects Version/s: None
Fix Version/s: 4.1.12

Type: Bug Priority: Major - P3
Reporter: Charlie Swanson Assignee: Charlie Swanson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-12747 Docs for SERVER-41257: Disallow 4.2 e... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2019-06-03
Participants:

 Description   

These could cause issues with downgrade and/or replication in a mixed-version cluster.



 Comments   
Comment by Githook User [ 22/May/19 ]

Author:

{'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson', 'username': 'cswanson310'}

Message: SERVER-41257 Disallow persisting new 4.2 expressions in FCV 4.0
Branch: master
https://github.com/mongodb/mongo/commit/5594eeb9c42f5a28ebb20c8fcce87a2a1a01f6a5

Comment by Charlie Swanson [ 21/May/19 ]

After talking david.storch@mongodb.com we realized this isn't really a problem for newly introduced stages since those can only be present in view catalogs, but this is a problem for newly introduced expressions like $regexFind since those can be stored in a collection validator or partial index via $expr.

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