SERVER-136627Open

SBE ignores internalQueryLegacyDottedPathNullSemantics for MinKey/MaxKey comparisons on dotted paths through arrays

_Found by an AI bug hunt and confirmed by a differential oracle._ h2. Problem For a comparison against {{MinKey}} or {{MaxKey}} on a dotted path that crosses arrays, the SBE engine returns the same documents whatever {{internalQueryLegacyDottedPathNullSemantics}} is set to, and differs from the classic engine under both settings. Comparisons against {{null}} agree between the engines under both settings. h2. Repro Collection {{c}} holds these documents; the query is run for each predicate belo

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
found-by-ai-hunter