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

Avoid concurrent accesses to InlineCountingExecutor

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc4, 4.7.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Service arch 2020-05-04
    • 0

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: