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

Race condition in thread_pool_task_executor exhaust handling

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • Fully Compatible
    • ALL

      If the exhaust responses come in faster than the callbacks are executed, the callback field on the callback state will be overwritten several times; this causes the callbacks to be run with the wrong data (the data is encapsulated in the lambda on the callback field).

            Assignee:
            patrick.freed@mongodb.com Patrick Freed
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: