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

Only full validate should verifyTable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.9
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Storage 2017-06-19, Storage 2017-07-10, Storage 2017-07-31
    • 0

      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.

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

              Created:
              Updated:
              Resolved: