Skip to content

PHPLIB-1044: Ensure ExplainFunctionalTest does not optimise pipeline on MongoDB 6.3 #1008

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

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Nov 24, 2022

PHPLIB-1044

The aggregation pipeline previously used to test an explain is optimised to a query on MongoDB 6.3, leading to different explain output. Adding a $sort stage removes the optimisation potential (for now) and fixes the test.

@alcaeus alcaeus requested a review from jmikola November 24, 2022 08:42
@alcaeus alcaeus self-assigned this Nov 24, 2022
@alcaeus alcaeus merged commit 36223ef into mongodb:master Nov 29, 2022
@alcaeus alcaeus deleted the phplib-1044 branch November 29, 2022 07:15
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