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

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.4.0-rc13
    • 4.4.1
    • Sharding
    • None
    • Fully Compatible
    • v4.4
    • 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

            esha.maharishi@mongodb.com Esha Maharishi
            esha.maharishi@mongodb.com Esha Maharishi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: