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

Balancer holding distlock briefly on recover fails a subsequent split (or potentially any distlock operation) command

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0-rc2
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-10, Sharding 2016-10-31
    • 0

      The moveChunk is returned to the mongos with response OK, stepdown occurs and the balancer keeps the migration document. Balancer recovers, acquires distlock because of the migration document, reloads the chunk metadata and discovers that the chunk has already moved, and then the balancer releases the distlock. However, the balancer holding the distlock briefly interferes with the JS test's subsequent split command that occurs after that moveChunk command.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: