SERVER-41196ClosedFixed
Mongos invariant failure crash with change streams startAfter
Mongos crashes with this invariant failure: Attached is [^mongos-python-1720-crash.log] which includes the full mongos log. The reproduction is fairly simple: # Start a change stream on collection "x", drop "x", and obtain the invalidate change stream document's resume token # Start a new change stream passing the previous resume token to startAfter. # Run a getMore on the new change stream -> crash. In code: {code:js} MongoDB Enterprise mongos> var cs = db.test.watch([{'$match