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

[5.0] Quadratic behavior initializing databases during startup

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • Execution Team 2022-06-27

    Description

      Startup recovery is quadratic in the number of databases and collections due to the copy-on-write semantics happening here. Every time a database is initialized, we rewrite the entire collection catalog.

      This was fixed in 6.0 with SERVER-65313, but it is dependent on some changes that would be tricky to backport. We should implement a simple change for the 5.0 branch.

      Attachments

        Activity

          People

            henrik.edin@mongodb.com Henrik Edin
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: