SERVER-121988ClosedDone
$lookup on sharded view with concurrent drops and create matches no documents
Quick summary: $lookup doesn't handle multiple view kickbacks correctly. The repro explains one situation where multiple view kickbacks are possible. Repro steps (also can be found in the comments): # Run a $lookup on a sharded view as the foreign collection (view A backed by collection B). # After the 'CommandOnShardedViewNotSupportedOnMongod' is raised and while mongos is resolving the view, we drop collection B and recreate it as view B on collection C. This can also happen between ge