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

Homogenize getmore fail points and cursor lifetime

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.8
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Service Arch 2019-01-28, Service Arch 2019-02-11, Service Arch 2019-02-25
    • Linked BF Score:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: