Only full validate should verifyTable

XMLWordPrintableJSON

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

      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
              Reporter:
              Geert Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: