Skip to content

feat(NODE-5004): dont create or drop ecc collections#3660

Merged
nbbeeken merged 5 commits intomainfrom
NODE-5004
May 5, 2023
Merged

feat(NODE-5004): dont create or drop ecc collections#3660
nbbeeken merged 5 commits intomainfrom
NODE-5004

Conversation

@durran
Copy link
Copy Markdown
Contributor

@durran durran commented May 4, 2023

Description

Does not create or drop ecc collections when using QEv2.

What is changing?

  • No longer creates ecc collection during create collection.
  • No longer drops ecc collection during drop.
  • Throws an error when server < 7.0 when encrypted fields supplied.
  • Syncs to NODE-5195 de-dup FLE tests.
Is there new documentation needed for these changes?

None

What is the motivation for this change?

NODE-5004/NODE-5195

Backported: #3678

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@durran
Copy link
Copy Markdown
Contributor Author

durran commented May 4, 2023

@durran durran marked this pull request as ready for review May 4, 2023 14:17
addaleax
addaleax previously approved these changes May 4, 2023
Comment thread src/operations/create_collection.ts
@nbbeeken nbbeeken self-assigned this May 4, 2023
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label May 4, 2023
Copy link
Copy Markdown
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the one change about server version, mentioned an improvement if we want that as well

Comment thread src/operations/create_collection.ts
Comment thread src/operations/create_collection.ts
@nbbeeken nbbeeken added Team Review Needs review from team and removed Primary Review In Review with primary reviewer, not yet ready for team's eyes labels May 4, 2023
nbbeeken
nbbeeken previously approved these changes May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team Review Needs review from team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants