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

rewrite killop.js using setYieldAllLocksHang failpoint

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.2, 3.5.2
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2017-01-23
    • Linked BF Score:
      0

      Description

      As it's currently written the test uses a long-running $where query so that it has an operation to kill, but this can be more reliably achieved using the setYieldAllLocksHang failpoint. Doing so will remove the timing related assertions of the test such as this one and make the test more reliable.

      To use the failpoint, we'll have to move the test out of core and into noPassthrough. While doing this, we should ensure we still get the coverage we want that we were getting via passthrough suites (e.g. killing an operation through a mongos).

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: