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

CSRS leaves the balancer lock unprotected briefly between leaving drain mode and the balancer acquiring it

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0-rc4
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-31, Sharding 2016-11-21

    Description

      Draining mode unlocks all of the config server held distributed locks. The Balancer reacquires the {_id: "balancer"} distlock after drain mode has been left.

      Theoretically, a 3.2 Mongos could take the {_id: "balancer"} distlock in this window. It could briefly hold the distlock for a manual moveChunk, or indefinitely if auto-balancing is enabled. It could be held indefinitely if the config server is holding collection distlocks for migrations it is trying to recover after failover.

      Attachments

        Activity

          People

            nathan.myers Nathan Myers
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: