Check for interrupt while finding unowned ranges on setFCV to 4.4

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.1
    • Affects Version/s: 4.4.0-rc13
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v4.4
    • Sharding 2020-07-27, Sharding 2020-08-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After SERVER-49680, a shard should be able to enumerate all its unowned ranges for a collection quickly on setFCV to 4.4, but since this is implemented as a loop of O(num chunks) under a collection IX lock, it's a good idea to periodically check for interrupt in the loop.

      Also add tests of stepping down and shutting down a node while it's in the loop.

              Assignee:
              Esha Maharishi (Inactive)
              Reporter:
              Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: