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

Check for interrupt while finding unowned ranges on setFCV to 4.4

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: