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

Race between drop and range delete can cause it to hit an invariant

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc6, 4.7.0
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4
    • Steps To Reproduce:
      Hide

      1. Migration cleanup decides to kick off range deletion on source.
      2. Collections gets dropped.
      3. SSV comes in to reset shard version to 0.
      4. Range deletion grabs collection sharding state under collection IS lock.
      5. Metadata refreshes to become unsharded under collection IX lock.
      6. Range deletion tries to schedule range deletion and hits invariant

      Show
      1. Migration cleanup decides to kick off range deletion on source. 2. Collections gets dropped. 3. SSV comes in to reset shard version to 0. 4. Range deletion grabs collection sharding state under collection IS lock. 5. Metadata refreshes to become unsharded under collection IX lock. 6. Range deletion tries to schedule range deletion and hits invariant
    • Sprint:
      Sharding 2020-05-18
    • Linked BF Score:
      35

      Attachments

        Activity

          People

          Assignee:
          matthew.saltz Matthew Saltz
          Reporter:
          renctan Randolph Tan
          Participants:
          Votes:
          0 Vote for this issue
          Watchers:
          5 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved: