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

Remove joinAsync from AbstractAsyncComponent

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-11-02
    • 0

      Using a future-based join()/joinAsync() for AbstractAsyncComponent introduces a subtle race where a subclass may be destroyed while holding the mutex. Since we turned out not to need joinAsync, it is simplest to fix this by reverting to the old condition variable based method.

            Assignee:
            matthew.russotto@mongodb.com Matthew Russotto
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: