SERVER-139165In Code Review

Fix up exhausiveScope in a dotted path edge case

The exhaustiveScope of a deep path $set when a prior, shorter path exists (the shadowing case) is incorrect. This is follow up from SERVER-131449, which grew in scope too much, so this bug fix was split up (see [vesko/SERVER-131449-Fix-up-exhausiveScope-in-the-shadowing-case]([https://github.com/10gen/mongo/pull/60571])). The exhaustive scope selection should check for a missing parent embedded scope before falling back to the previous field's exhaustive scope. When the parent's embedded s

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

No labels assigned.