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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • v7.2, v7.0, v6.0

      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.

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

              Created:
              Updated:
              Resolved: