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

Do not use InlineCountingExecutor in multi-threaded tests

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Concurrency
    • None
    • ALL
    • Service arch 2020-05-04
    • 0

    Description

      The OneSharedFuture test makes an InlineCountingExecutor and passes it by reference to multiple threads who make concurrent calls into it. InlineCountingExecutor, however, does no internal synchronization and is not safe to access concurrently from multiple threads.

      Attachments

        Activity

          People

            spencer@mongodb.com Spencer Brody (Inactive)
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: