SERVER-138361ClosedFixed

Remove remaining invariant() calls in change stream pipeline code

Remove all remaining {{invariant()}} calls in change stream pipeline code, outside of tests and benchmarks.

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
Change streams
Labels
Tags and classification

No labels assigned.