From 120ee72dd991635cebdb3d875baef75f65b24001 Mon Sep 17 00:00:00 2001 From: Max Verbinnen <64088654+Max-Verbinnen@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:22:18 +0000 Subject: [PATCH] SERVER-113632 Update expected COLLSCAN & FETCH filter (#43986) GitOrigin-RevId: e9dd74c88f9963dc897a77d6d25b9389240d5125 --- buildscripts/cost_model/start.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/buildscripts/cost_model/start.py b/buildscripts/cost_model/start.py index 37c217ee948..240e42fe43b 100644 --- a/buildscripts/cost_model/start.py +++ b/buildscripts/cost_model/start.py @@ -186,11 +186,7 @@ async def execute_collection_scans( expected_stage={ "COLLSCAN": { "direction": dir_text.lower(), - "filter": { - "$and": [ - {"int_uniform_unindexed_0": {"$gt": 0}}, - ] - }, + "filter": {"int_uniform_unindexed_0": {"$gt": 0}}, } }, ) @@ -497,15 +493,7 @@ async def execute_fetches(database: DatabaseInstance, collections: Sequence[Coll } }, note="FETCH_W_FILTER", - expected_stage={ - "FETCH": { - "filter": { - "$and": [ - {"int_uniform_unindexed_0": {"$gt": 0}}, - ] - } - } - }, + expected_stage={"FETCH": {"filter": {"int_uniform_unindexed_0": {"$gt": 0}}}}, ) )