[GODRIVER-2741] Drivers should not create the ECC collection in v2 of queryable encryption Created: 25/Jan/23  Updated: 28/Oct/23  Resolved: 27/Apr/23

Status: Closed
Project: Go Driver
Component/s: Client Side Encryption
Affects Version/s: None
Fix Version/s: 1.12.0

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2524 Drivers should not create the ECC col... Closed
Server Compat: 7.0, 7.1
Quarter: FY24Q1
Upstream Changes Summary:

DRIVERS-2524:

See https://github.com/mongodb/mongo-c-driver/pull/1232 for an example of changes.

Further changes:
Friday, April 21, 2023: https://github.com/mongodb/specifications/commit/eb3d882bb8c08d0f25f54709abcd876caeccba7f fixes commandStarted events with encryptionInformation

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This ticket was split from DRIVERS-2524, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 27/Apr/23 ]

Author:

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

Message: GODRIVER-2741 Do not create or drop `eccCollection` (#1235)

  • sync fle2v2 test files to commit eb3d882bb8c08d0f25f54709abcd876caeccba7f
  • sync range-encryptedFields-* files to commit eb3d882bb8c08d0f25f54709abcd876caeccba7f
  • Support `null` in comparison of command monitoring events
  • include Expected and Got in match errors
  • do not create or drop eccCollection
  • remove eccCollection from TestFLE2CreateCollection
  • remove eccCollection from test helper
  • require server version 7.0 in TestFLE2CreateCollection

QE tests are expected only to be run on 7.0+ servers.

  • add maxWireVersion check
  • use `errors.Is`, remove `else`.
  • rename `makeMatchError` to `newMatchError`
  • Use `%w` to print errors

Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com>

---------

Co-authored-by: Preston Vasquez <prestonvasquez@icloud.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/ca34e0b08ab8edad1edd894b232acc0d1f2e2af0

Generated at Thu Feb 08 08:39:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.