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

Data race in the BalancerCommandsScheduler destructor may cause an exception

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: 5.1 Required
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2021-09-20
    • 68

      The destructor of the BalancerCommandsScheduler includes logic to end an internal thread, which is then detached.
      This situation may lead to segmentation faults when the internal thread outlives the parent object and tries to access already deleted resources.

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: