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

Fix race condition in FifoBasicMetrics test

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc8, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-05-30
    • 45

      As part of the test we first wait until there's an item enqueued in the ticketholder. The problem is that optimistically the wait acquires a ticket then releases it if it shouldn't have done that.

      This leads to a small window where the metrics indicate 2 tickets are in use when in reality only 1 is in use.

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

              Created:
              Updated:
              Resolved: