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

Avoid quadratic behavior in File Copy Based Initial Sync with many collections

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing
    • v7.2, v7.0, v6.0

    Description

      It's known that writes to the CollectionCatalog can be expensive, and resource consuming - see SERVER-58736SERVER-62618.

      Since File Copy Based initial sync takes a different startup path than the one covered by SERVER-62618, we can make use of the batch writer functionality added to the CollectionCatalog by SERVER-58736 to avoid copying the full catalog each time we add a collection to it.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: