Skip to content

[Encryption] Drop metadata collection when dropping encrypted collection #2781

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: feature/queryable-encryption
Choose a base branch
from

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Jun 12, 2025

The option encryptedFields is required to trigger the deletion of metadata collections using the DropEncryptedCollection operation.

We don't support custom esc and ecoc collection names. Therefore the array can be empty.

I chose to systematically try to delete metadata collections when autoencryption is enabled; not knowing if the collection was created encrypted and then the encrypted fields deleted from the metadata.

@GromNaN GromNaN requested a review from alcaeus June 12, 2025 17:00
@GromNaN GromNaN mentioned this pull request Jun 12, 2025
4 tasks
@GromNaN GromNaN changed the title Drop metadata collection when dropping encrypted collection [Encryption] Drop metadata collection when dropping encrypted collection Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant