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

WT_CONN_DATA_CORRUPTION incorrectly set in Btree verify code.

    XMLWordPrintableJSON

Details

    • Technical Debt
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • WT3.2.0, 4.1.9
    • None
    • None
    • 1
    • Storage Engines 2019-02-11, Storage Engines 2019-02-25

    Description

      1. In bt_vrfy_dsk.c, WT_CONN_DATA_CORRUPTION is set in WT_RET_VRFY but not in WT_ERR_VRFY.

      2. WT_CONN_DATA_CORRUPTION is set in __im_file_read(), which is the in-memory file system, so I don't see how corruption is possible in that case.

      3. WT_CONN_DATA_CORRUPTION is set in __posix_file_read() and __win_file_read(); if we want to catch all the read functions, why not use __wt_read() instead of the underlying read OS-dependent read functions?

      Attachments

        Activity

          People

            keith.bostic@mongodb.com Keith Bostic (Inactive)
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: