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

move data structures for tracking active index builds in IndexBuildsCoordinator into separate class

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • Execution Team 2020-11-02, Execution Team 2020-11-16

      IndexBuildsCoordinator currently maintains a list of the active index builds in _allIndexBuilds synchronized using a mutex and a condition variable. Moving the data structures for maintaining this information, along with the many helpers for waiting/checking active index builds, into a separate class (eg. IndexBuildCatalog) may help to reduce the size of the IndexBuildsCoordinator code.

            Assignee:
            brian.deleonardis@mongodb.com Brian DeLeonardis (Inactive)
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: