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

Use batch insert when migrating chunks

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.17, 3.6.7, 4.0.2, 4.1.1
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v4.0, v3.6, v3.4
    • Sharding 2017-12-04, Sharding 2018-07-02, Sharding 2018-07-16, Sharding 2018-07-30
    • 0

      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.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: