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

Improve error message in IndexCatalog::dropAllIndexes()

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.10, 4.1.11
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • v4.0
    • Storage NYC 2019-05-06

      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.

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

              Created:
              Updated:
              Resolved: