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

Ensure pin_getmore_cursor.js waits for server to finish killing cursor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.13, 4.2.1, 4.3.1
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0
    • Sprint:
      Query 2019-07-29
    • Linked BF Score:
      17

      Description

      jstests/libs/pin_getmore_cursor.js attempts to ensure that a cursor has been killed by running another command to kill the same cursor and ensuring that the second command can't find the cursor. However, because this occurs directly after a fail point is turned off, there is a race condition in which the second kill command might be issued before the server is able, after moving on from the fail point, to kill the cursor. The test should wait for the server to execute the first kill cursor command before ensuring it worked. 

        Attachments

          Activity

            People

            Assignee:
            samuel.mercier Sam Mercier
            Reporter:
            george.wangensteen George Wangensteen
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: