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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.4.0-rc2
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-10, Sharding 2016-10-31
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: