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

Avoid quadratic behavior in rollback with many collections

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0, 5.0.5, 5.1.1
    • Affects Version/s: 5.0.0
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • v5.1, v5.0
    • Execution Team 2021-08-09, Execution Team 2021-11-01, Execution Team 2021-11-15
    • 153

      Copying the CollectionCatalog is expensive. When there are tens of thousands of collections, operations like rollback become substantially slower. When the server is rolling back to the stable timestamp, the global lock is held in exclusive mode. We should be able to avoid making multiple copies of the collection catalog.

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: