Skip to content

MONGOCRYPT-820 bypass serverStatus from auto-encryption #1028

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 2 commits into
base: master
Choose a base branch
from

Conversation

kevinAlbs
Copy link
Contributor

@kevinAlbs kevinAlbs commented Jun 20, 2025

Bypasses serverStatus from query analysis instead of erroring.

As a drive-by fix, reduces the exec_timeout_secs in release-python-linux to fix an error observed by evergreen validate:

ERROR: task 'release-python-linux' exec timeout (216000) is too high and will be set to maximum limit (180000)

Background

libmongocrypt errors if trying to auto-encrypt a command not explicitly listed. This is intended to err towards safety: if libmongocrypt is unsure if the command might have values to encrypt reject it rather than risk sending plaintext that should be encrypted. serverStatus is not expected to have values needing encryption.

@kevinAlbs kevinAlbs requested a review from mdb-ad June 20, 2025 17:13
@kevinAlbs kevinAlbs requested a review from a team as a code owner June 20, 2025 17:13
Set to 3600 seconds (60 minutes) to match comment. Fixes error from `evergreen validate`:

```
exec timeout (216000) is too high
```
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