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

Homogenize getmore fail points and cursor lifetime

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.8
    • None
    • Querying
    • None
    • Fully Compatible
    • Service Arch 2019-01-28, Service Arch 2019-02-11, Service Arch 2019-02-25
    • 29

    Description

      Cursor's have subtly different semantics across mongos and mongod and between legacy getMore and command getMore. (as does the find command)

      Ensuring that all getMores can be paused by waitAfterPinningCursorBeforeGetMoreBatch, and that cursors are cleaned up if they are killed after verifying auth, makes testing a bit simpler and cursors less leaky

      And adding a check for waitInFindBeforeMakingBatch to runQuery similarly makes it easier to test

      Attachments

        Activity

          People

            mira.carey@mongodb.com Mira Carey
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: