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

Only full validate should verifyTable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.9
    • None
    • Storage
    • None
    • Fully Compatible
    • Storage 2017-06-19, Storage 2017-07-10, Storage 2017-07-31
    • 0

    Description

      The verifyTable call will force a checkpoint and flush all in-memory data to disk and then verifies the on-disk data. Then after that, MongoDB will do its own scans to verify size and sort order. This requires reading all data twice from disk.

      We instead should always do the cheaper and more meaningful consistency checking, leaving the verifyTable for full : true cases.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: