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

The Balancer's operation context is not getting interrupted at stepdown

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.3.12
    • 3.3.14
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-10
    • 0

    Description

      When a stepdown happens, the balancer's operation context is not getting marked as interrupted, which means that if it happen to wait on read concern or any other interruptible call, it will get stuck. This causes problems when that that same node is becoming primary again, because it will deadlock trying to join the already stuck balancer thread.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: