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

Homogenize getmore fail points and cursor lifetime

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.8
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Service Arch 2019-01-28, Service Arch 2019-02-11, Service Arch 2019-02-25
    • 29

      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

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

              Created:
              Updated:
              Resolved: