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
    • ClusterScalability 13Apr-27Apr, ClusterScalability 27Apr-11May, ClusterScalability 11May-25May, ClusterScalability 25May-5June
    • 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:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: