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

Ensure pin_getmore_cursor.js waits for server to finish killing cursor

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.13, 4.2.1, 4.3.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v4.2, v4.0
    • Query 2019-07-29
    • 17

      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. 

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

              Created:
              Updated:
              Resolved: