Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-36539

Test that DBClientCursor sends getMore for exhaust cursor if moreToCome is not set

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.3
    • None
    • Replication
    • None
    • Fully Compatible
    • Repl 2018-08-27, Repl 2018-09-10

    Description

      It is legal in the spec for exhaust cursors for the server to not set the moreToCome bit when the cursor is not exhausted. In this case, the client should send a getMore in order to receive more results. We should test that DBClientCursor adheres to this spec by creating a failpoint that randomly does not set the moreToCome bit and checking that DBClientCursor sends a getMore to get the next batch.

      Attachments

        Activity

          People

            william.schultz@mongodb.com William Schultz (Inactive)
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: