Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2520

WT_SESSION::verify should not alter tables

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0
    • Component/s: None
    • Labels:
      None

      Description

      While digging into a test failure in WT-2330 I noticed that running WT_SESSION::verify calls truncate, which can alter the file. Since verify is supposed to report whether a file is corrupted or not I'm not comfortable with verify altering the content of a table.

      I think we should be able to assert that a file is identical before and after running verify.

        Attachments

          Activity

            People

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            alexander.gorrod Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: