[SERVER-84047] Introduce cursor_hints_to_query_settings test suite Created: 11/Dec/23  Updated: 29/Jan/24  Resolved: 08/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Catalin Sumanaru Assignee: Catalin Sumanaru
Resolution: Fixed Votes: 0
Labels: M2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-79233 Ensure query settings $natural hints ... Closed
Related
is related to SERVER-85844 Introduce 'cursor_hints_to_query_sett... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-12-11, QE 2023-12-25, QE 2024-01-08
Participants:

 Description   

Create a passthrough suite in which to add coverage for Query Settings by re-using existing Cursor.hint() jscore tests. 

The passthrough suite will override .hint() in the following manner:

  • Intercept running query commands using .hint()
  • Set a query setting emulating the behaviour of the index specified in .hint()
  • Remove the .hint() property from the command
  • Execute the query
  • Remove the query settings


 Comments   
Comment by Githook User [ 08/Jan/24 ]

Author:

{'name': 'Catalin Sumanaru', 'email': '45388008+csum112@users.noreply.github.com', 'username': 'csum112'}

Message: SERVER-84047 Introduce cursor_hints_to_query_settings test suite (#17534)

GitOrigin-RevId: 9d793e0bc1498580a1e65764da9786d4e01e24fb
Branch: master
https://github.com/mongodb/mongo/commit/5b57e0c3ec266b9914d8ee3835205f28c2f0c939

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