SERVER-138714ClosedFixed

Make SBE loop join remap slots that that are carried over from inner side

SBE loop join can "redefine" slots that are taken from the inner side. This makes analyzing the plan hard because it's effectively a mutation. Instead, we should define new slot IDs above the inner join and remap them.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc0
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.