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

Add more useful logging to IndexCatalogImpl::numIndexesReady

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.4
    • 3.7 Desired
    • None
    • None
    • Fully Compatible
    • Storage NYC 2018-03-26

    Description

      We should add more logging when comparing the number of indexes reported by the index catalog entry and the collection catalog. This assertion can fail in debug builds when calling IndexCatalogImpl::numIndexesReady(), by collStats for example.

      This failure has been seen in debug builds and would be easier to diagnose the root cause if we had more useful index information. We should log both sets of indexes in debug builds when this condition is not met before exiting.

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: