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

remove inactive index builds from config.system.indexBuilds

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.8.0, 4.4.11
    • Storage
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-09-21
    • 30

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: