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

DRIVERS-2612: Require 7.0+ for explain apiVersion bug fix #1435

Merged
merged 1 commit into from
Jun 23, 2023

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Jun 16, 2023

In previous server versions, apiVersion is not properly appended to the root of an explain command document.

When testing with requireApiVersion=1, that can cause test failures if the driver does not have additional logic to always append the field to a crypt_shared/mongocryptd respnse.

Please complete the following before merging:

  • Make sure there are generated JSON files from the YAML test files.
  • Test changes in at least one language driver.
  • Test these changes against all server versions and topologies (including standalone, replica set, sharded clusters, and serverless).

POC: mongodb/mongo-php-library#1111

As noted in DRIVERS-2612, this is blocked on the release of 7.0.0-rc4 for BACKPORT-16190.

@jmikola jmikola requested a review from a team as a code owner June 16, 2023 20:06
@jmikola jmikola requested review from katcharov and removed request for a team June 16, 2023 20:06
@jmikola jmikola requested review from kevinAlbs and removed request for katcharov June 16, 2023 20:08
Copy link
Contributor

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

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

Thank you. LGTM

@jmikola
Copy link
Member Author

jmikola commented Jun 22, 2023

Planning to come back to this Thursday, as the PHPLIB PR is currently blocked on an unrelated issue.

In previous server versions, apiVersion is not properly appended to the root of an explain command document.

When testing with requireApiVersion=1, that can cause test failures if the driver does not have additional logic to always append the field to a crypt_shared/mongocryptd respnse.
@jmikola jmikola merged commit 08c206e into mongodb:master Jun 23, 2023
3 checks passed
@jmikola jmikola deleted the drivers-2612 branch June 23, 2023 14:24
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.

2 participants