Add optimization for unshardCollection when collection only has chunk(s) on destination shard

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • v8.3, v8.0
    • Cluster Scalability Priorities
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When unshardCollection is called on a sharded collection that only has chunk(s) residing on the destination shard, the full resharding operation cloning mechanism is unnecessary.

      Add a fast path that skips data movement entirely in that case and only updates the collection metadata.

            Assignee:
            Unassigned
            Reporter:
            Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: