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

Remove joinAsync from AbstractAsyncComponent

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-11-02
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: