Sharding balancer should check for shutdown more frequently

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The mongos clean shutdown sequence blocks waiting for all currently held distributed locks to be freed in order to proceed with the shutdown. This means that if the balancer takes long time to complete the round it would block shutdown.

      For this reason the balancer should be checking whether shutdown has been requested after each chunk has been migrated instead of once for the entire round.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: