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

Do not use InlineCountingExecutor in multi-threaded tests

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Concurrency
    • None
    • ALL
    • Service arch 2020-05-04
    • 0

      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.

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

              Created:
              Updated:
              Resolved: