SERVER-126499ClosedFixed

Express write path tasserts on _id $eq with DBRef-shaped object

h2. Problem The Express update/delete fast path can tassert for an exact {{_id}} equality query where the explicit {{$eq}} value is an object whose first field starts with {{{}${}}}, such as a DBRef-shaped object. h2. Reproduction The request is routed to the Express write path and mongod hits a tassert: * update: {{tassert(9248801)}} * delete: {{tassert(9248804)}} h2. Root Cause {{isSimpleIdQuery()}} accepts {{{}_id: {$eq: <object>{}}}} as an exact {{_id}} query. The Express wr

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10259.0.98.3.18
Components
Server components related to this issue

No components specified.

Labels
Tags and classification
found-by-aitech-debt