[SERVER-76057] Fix InternalEqHash tests in sharding passthroughs Created: 13/Apr/23  Updated: 29/Oct/23  Resolved: 17/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Ben Shteinfeld Assignee: Ben Shteinfeld
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: QO 2023-04-17, QO 2023-05-01
Participants:
Linked BF Score: 66

 Description   

SERVER-72814 introduced tests for the new $_internalEqHash match expression. These tests use explain to assert on that plans used certain indexes. The shared_retryable_writes_downgrade suite which sets a non-local readConcern for all commands, which causes explain to fail because the explain command does not define semantics for readConcern.



 Comments   
Comment by Githook User [ 17/Apr/23 ]

Author:

{'name': 'Ben Shteinfeld', 'email': 'ben.shteinfeld@mongodb.com', 'username': 'bshteinfeld'}

Message: SERVER-76057 Add 'assumes_read_concern_local' test to $_internalEqHash tests.

These tests use the explain command to assert on index bounds. As a result, we want to avoid running them in suites which set a non-local readConcern because the explain command does not allow any other readConcern.
Branch: v7.0
https://github.com/mongodb/mongo/commit/9a19e2e778d3777f11072b3850037f8a991c9b6b

Comment by Githook User [ 17/Apr/23 ]

Author:

{'name': 'Ben Shteinfeld', 'email': 'ben.shteinfeld@mongodb.com', 'username': 'bshteinfeld'}

Message: SERVER-76057 Add 'assumes_read_concern_local' test to $_internalEqHash tests.

These tests use the explain command to assert on index bounds. As a result, we want to avoid running them in suites which set a non-local readConcern because the explain command does not allow any other readConcern.
Branch: master
https://github.com/mongodb/mongo/commit/ff5e8a16decf26e412ed06261ec92d3bafe82a63

Generated at Thu Feb 08 06:31:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.