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

Check for interrupt while finding unowned ranges on setFCV to 4.4

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.4.0-rc13
    • Fix Version/s: 4.4.1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Sharding 2020-07-27, Sharding 2020-08-10

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            esha.maharishi Esha Maharishi
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: