Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
Fully Compatible
-
ALL
-
10
Description
This assertion may fail spuriously when run under a passthrough involving mongos. This is because in sharded deployments, tailable+awaitData cursors may return an empty batch if mongos times out waiting to hear from a shard. We should relax this assertion when running through mongos to check that the number of documents expected is returned "soon" rather than in the next batch.