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

Avoid majority reads within the BalancerDefragmentationPolicy

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

      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@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: