[DRIVERS-2590] Remove workaround to enable featureFlagFLE2ProtocolVersion2 Created: 29/Mar/23  Updated: 14/Apr/23  Resolved: 14/Apr/23

Status: Closed
Project: Drivers
Component/s: Client Side Encryption
Fix Version/s: None

Type: Task Priority: Unknown
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Gantt Dependency
has to be done after SERVER-69563 Enable Feature flag for PM-2972 Closed
has to be done after DRIVERS-2435 Update libmongocrypt payloads to new ... Closed
Issue split
split to CDRIVER-4607 Remove workaround to enable featureFl... Closed
split to CSHARP-4604 Remove workaround to enable featureFl... Closed
split to CXX-2668 Remove workaround to enable featureFl... Closed
split to GODRIVER-2802 Remove workaround to enable featureFl... Closed
split to JAVA-4925 Remove workaround to enable featureFl... Closed
split to MOTOR-1112 Remove workaround to enable featureFl... Closed
split to NODE-5178 Remove workaround to enable featureFl... Closed
split to PHPLIB-1103 Remove workaround to enable featureFl... Closed
split to PYTHON-3656 Remove workaround to enable featureFl... Closed
split to RUBY-3235 Remove workaround to enable featureFl... Closed
split to RUST-1625 Remove workaround to enable featureFl... Closed
Driver Changes: Needed
Downstream Changes Summary:

Remove the no longer used `ENABLE_featureFlagFLE2ProtocolVersion2=ON` from the driver's Evergreen project.

If `ENABLE_featureFlagFLE2ProtocolVersion2=ON` was not added, there is nothing to do.

Engineering Lead: Kevin Albertson Kevin Albertson
Driver Compliance:
Key Status/Resolution FixVersion
CDRIVER-4607 Gone away
CXX-2668 Gone away
CSHARP-4604 Works as Designed
GODRIVER-2802 Fixed 1.12.0
JAVA-4925 Done
NODE-5178 Done 5.3.0
MOTOR-1112 Duplicate
PYTHON-3656 Gone away
PHPLIB-1103 Won't Do
RUBY-3235 Won't Do
RUST-1625 Gone away

 Description   

Summary

Enabling featureFlagFLE2ProtocolVersion2 is required to enable the Queryable Encryption v2 protocol. SERVER-69563 plans to enable the feature flag by default.

Until latest server builds have the feature flag enabled, https://github.com/mongodb-labs/drivers-evergreen-tools/pull/285 adds a workaround to enable the flag by modifying orchestration configs. Once the feature flag is enabled by default in latest server builds, the setfle2parameter.py script and check for ENABLE_featureFlagFLE2ProtocolVersion2 can be removed.

Motivation

Who is the affected end user?

DBX Engineers

How does this affect the end user?

How likely is it that this problem or use case will occur?

Main path? Edge case?

If the problem does occur, what are the consequences and how severe are they?

Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete?

Is this issue urgent?

No

Is this ticket required by a downstream team?

No

Is this ticket only for tests?

Yes

Acceptance Criteria

The setfle2parameter.py script and check for ENABLE_featureFlagFLE2ProtocolVersion2 are removed from drivers-evergreen-tools.



 Comments   
Comment by Githook User [ 31/Mar/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: DRIVERS-2435 add option to enable `featureFlagFLE2ProtocolVersion2` (#285)

  • remove unnecessary import
  • add setfle2parameter.py
  • add ENABLE_featureFlagFLE2ProtocolVersion2 option
  • only enable feature flag for "latest"

Older servers will error with `Unknown --setParameter`

  • use bash

find-python3.sh requires bash

  • remove requirement of python3
  • add SERVER ticket to emitted message
  • check for version 7.0
  • fix path to mongod
Generated at Thu Feb 08 08:25:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.