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

Improve error message in IndexCatalog::dropAllIndexes()

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.10, 4.1.11
    • None
    • Storage
    • None
    • Fully Compatible
    • v4.0
    • Storage NYC 2019-05-06

    Description

      When IndexCatalog::dropAllIndexes() detects an inconsistent state in the catalog after dropping all indexes, it logs the index count in the on-disk catalog and the number of indexes removed during the function invocation. It would be beneficial to log the index names (and specs) as well for improved diagnostics.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            benety.goh@mongodb.com Benety Goh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: