Homogenize getmore fail points and cursor lifetime

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: