-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Querying
-
Labels:
-
Fully Compatible
-
ALL
-
10
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.