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

Fix race condition in ticketholder_test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-10-31
    • 43

    Description

      During tests we check that only one thread holds the ticket but then proceed to release all tickets held by threads. This means that after the check if we release the ticket and another thread acquires it immediately afterwards, then we will also release it.

      Attachments

        Activity

          People

            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: