Optimize willOverrideLocalId() function when the shard key is _id

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • Cluster Scalability Priorities
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The function `willOverrideLocalId()` called during the cloning phase of a migration can be optimized when the shard key pattern is {_id:1}.

      It is called once per every migrated document, so we could improve the migration performance significantly.

            Assignee:
            Unassigned
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: