Avoid majority reads within the BalancerDefragmentationPolicy

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0, v6.3, v6.0
    • Sharding EMEA 2023-08-21
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The BalancerDefragmentationPolicy is a collaborator of the Balancer accessed by its secondary thread and an executor - and its state is hence protected by a mutex.

      In order to avoid deadlocks in stepdown scenarios, BalancerDefragmentationPolicy should avoid majority waits while holding its mutex.

              Assignee:
              Paolo Polato
              Reporter:
              Paolo Polato
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: