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

validate command does not explain failure in all cases

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.0.7, 2.2.0
    • Fix Version/s: 2.2.2, 2.3.0
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      The validateNS() routine in src/mongo/db/dbcommands_admin.cpp that does the work of the 'validate' command has an array called 'errors' that it will return once the command has finished. This array is supposed to contain a list of the validations that failed when the command returns 'valid' : false.

      If the first extent in the collection fails the Extent::validates() test or if the first extent has a non-null 'xprev' pointer, 'valid' will be set to false but no explanation will be added to the 'errors' array.

        Attachments

          Activity

            People

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: