SERVER-136844ClosedFixed

Avoid limit 1/coscan pattern in SBE

SBE still often uses the {{limit 1/coscan}} pattern to feed non-leaf stages data. This is often pretty expensive. We should replace uses of this pattern with either: * A virtual scan (taking care to productionize the stage) * A single coscan-n stage A goal of this ticket is to remove the {{makeLimitOneCoscan()}} utility code.

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-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.