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

Avoid concurrent accesses to InlineCountingExecutor

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc4, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Service arch 2020-05-04
    • 0

      Scheduling tasks on InlineCountingExecutor is not thread-safe, thus concurrent scheduling of tasks results in undefined behavior (and could potentially cause segmentation faults).

      We should make sure that instances of InlineCountingExecutor are not shared between multiple threads (see example here).

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: