Skip to content
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

MONGOCRYPT-699 Omit encryptionInformation in compact if no range fields are used #852

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

kevinAlbs
Copy link
Contributor

@kevinAlbs kevinAlbs commented Jun 27, 2024

See MONGOCRYPT-699. Bug was discovered by a PHP driver test receiving an error running compactStructuredEncryptionData on non-range fields in server 7.0 after upgrading libmongocrypt:

Command 'compactStructuredEncryptionData' requires field 'encryptionInformation' when range fields are present

A drivers integration test for running compact with range fields is proposed in mongodb/specifications#1605

@kevinAlbs kevinAlbs requested a review from a team as a code owner June 27, 2024 20:09
@kevinAlbs kevinAlbs removed the request for review from a team June 27, 2024 20:09
Copy link
Member

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

LGTM!

@kevinAlbs kevinAlbs merged commit 1337914 into mongodb:master Jul 1, 2024
52 checks passed
kevinAlbs added a commit that referenced this pull request Jul 1, 2024
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.

3 participants