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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

            Assignee:
            Matthew Saltz (Inactive)
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: