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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.14
    • Affects Version/s: 3.3.12
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-10-10
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: