WT_CONN_DATA_CORRUPTION incorrectly set in Btree verify code.

XMLWordPrintableJSON

    • Type: Technical Debt
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT3.2.0, 4.1.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines 2019-02-11, Storage Engines 2019-02-25
    • 1

      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?

              Assignee:
              Keith Bostic (Inactive)
              Reporter:
              Keith Bostic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: