SERVER-130823ClosedFixed

Change stream with update lookup can trip server assertion

We have a test in the mongosync codebase that sometimes (extremely rarely) trips an assertion in the server. The test opens a change stream with {{fullDocument: updateLookup}}, updates some documents in a collection, then drops that collection. Sometimes in CI this test fails because the change stream trips a tassert in the server, with an error like: This seems like a bug in the express engine: it seems like it shouldn't be possible to observer a state where a collection exists but do

Affected Versions
Versions known to exhibit this issue
8.0.24
Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc10249.0.9
Components
Server components related to this issue
Change streams
Labels
Tags and classification

No labels assigned.