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

Enhance the index validation code to output details on what is wrong

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Testing Infrastructure
    • Storage Execution
    • 0

    Description

      Currently, the index validation code only mentions that a corrupt index has too many or too few index entries. But the code has knowledge of which documents are missing index entries, which index entries are missing documents, and which index entries are incorrectly referencing the same document. It would be helpful to display this information when the validation fails.
      Currently, for documents that are unindexed for example, all that is displayed is:

      "indexDetails" : {
       		"db182.coll182.$_id_" : {
       			"valid" : false
       		}
      

      (It doesn't even mention explicitly why the index is invalid: too many, or too few entries)

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            milkie@mongodb.com Eric Milkie
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: