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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc6, 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • 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
    • Sharding 2020-05-18
    • 35

          Assignee:
          matthew.saltz@mongodb.com Matthew Saltz (Inactive)
          Reporter:
          randolph@mongodb.com Randolph Tan
          Votes:
          0 Vote for this issue
          Watchers:
          5 Start watching this issue

            Created:
            Updated:
            Resolved: