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

Use ordered:false when inserting chunks in optimized path of create collection

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v6.2, v6.0, v5.0
    • Sharding EMEA 2022-12-26

    Description

      The optimized path of create collection consist in creating and pre-splitting the chunks across the cluster depending on the split policy initially associated with the collection.

      SERVER-59806 introduced an optimization when creating a collection in the optimized path: using an insert instead of an upsert of the chunks. However, we could also set the ordered field to false to allow parallel batch processing instead of sequential processing and decrease the total time necessary to pre-split large amounts of chunks in the cluster.

      Attachments

        Activity

          People

            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: