-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
ALL
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
jstests/core/query/release_memory/hash_lookup_unwind.js is flaky in the unsplittable_collections_created_on_any_shard_jscore_passthrough suite because it asserts on the global metrics.query.lookup.hashLookupSpills serverStatus counter, which is also incremented by background aggregation hooks in this suite.
Make the test robust to concurrent $lookup spills by either:
- relaxing assertions on hashLookupSpills to tolerate background noise, or
- wrapping the spill-counter assertions in a small retry helper (similar to the $group release_memory test) so they only fail on consistent mismatches.