[SERVER-85876] Ensure incoming queries are killed, those query shape have reject: true query settings Created: 29/Jan/24  Updated: 05/Feb/24

Status: In Code Review
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Denis Grebennicov Assignee: James Harrison
Resolution: Unresolved Votes: 0
Labels: M3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: QE 2024-02-19
Participants:

 Description   

As part of Reject Operations by Query Shape we need to kill the incoming find, agg and distinct commands that have `reject: true` query settings attached to them.

This should be done via uassert right after the query settings lookup.

This could be tested in a dedicate query_settings_rejection.js file under jscore.


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