Make tailable_getmore_batch_size.js more robust

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Querying
    • Fully Compatible
    • ALL
    • 10
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Ian Boros
            Reporter:
            Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: