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

WT_CONN_DATA_CORRUPTION incorrectly set in Btree verify code.

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

      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@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: