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

remove inactive index builds from config.system.indexBuilds

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.8.0, 4.4.11
    • Affects Version/s: None
    • Component/s: Storage
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-09-21
    • 30

      After an index build is completed (committed/aborted) the document representing the active index build state in config.system.indexBuilds is removed by the IndexBuildsCoordinator. This was done in SERVER-47635. In certain abort situations, if a secondary votes for commit readiness as the primary is in removing the document, we may end up with an orphaned document in this system collection. It would be desirable, for better resource management, to periodically clean up the replicated config.system.indexBuilds collection on the primary.

            vishnu.kaushik@mongodb.com Vishnu Kaushik
            benety.goh@mongodb.com Benety Goh
            0 Vote for this issue
            4 Start watching this issue