[SERVER-82203] Wrap encryption options check in a feature flag Created: 16/Oct/23  Updated: 29/Oct/23  Resolved: 16/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution EMEA Team 2023-10-30
Participants:
Linked BF Score: 40

 Description   

As part of SERVER-79496 we banned encryption options from being passed to the createCollection command starting on 7.2.

We wrote this check without an FCV guard. This turns out to break the FCV guarantee since a mixed version replicaset with the same FCV will have different behaviour of nodes. One node would fail, while another succed.

We should wrap this in a feature flag that's already enabled starting on 7.2 in order to get proper mixed version support.



 Comments   
Comment by Githook User [ 16/Oct/23 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-82203 Wrap encryption options check behind a feature flag
Branch: master
https://github.com/mongodb/mongo/commit/5d76d9f8a856fd7b68cf847549971222c728e674

Generated at Thu Feb 08 06:48:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.