Data race in the BalancerCommandsScheduler destructor may cause an exception

XMLWordPrintableJSON

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

      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
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: