[SERVER-75358] Ensure FCV does not change in the middle of a QE operation Created: 27/Mar/23  Updated: 29/Mar/23  Resolved: 29/Mar/23

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

Type: Task Priority: Major - P3
Reporter: Erwin Pe Assignee: Shreyas Kalyan
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-73303 Remove Queryable Encryption v1 Code Closed
Assigned Teams:
Server Security
Sprint: Security 2023-04-03
Participants:

 Description   

In 7.0, we implemented version 2 of the queryable encryption protocol, which reuses a lot of the logic written for the preview version. To maximize code reuse, instead of having separate code for the v2 path, we instead check the feature flag in multiple areas of the QE code base in order to branch the v2 code path off of the v1 path. This creates a problem with respect to FCVs, because the FCV can change and affect the value of the feature flag, while in the middle of an operation.



 Comments   
Comment by Shreyas Kalyan [ 29/Mar/23 ]

Instead of doing this, we will just remove the v1 code before 7.0.

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