Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27725

Use batch insert when migrating chunks

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.17, 3.6.7, 4.0.2, 4.1.1
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0, v3.6, v3.4
    • Sprint:
      Sharding 2017-12-04, Sharding 2018-07-02, Sharding 2018-07-16, Sharding 2018-07-30
    • Case:
    • Linked BF Score:
      0

      Description

      We currently upsert one document at a time in the receive portion of chunk migration. We should be able to batch insert documents and fall back to one-at-a-time if there is an error. This should be a performance win, but needs to be tested.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: