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

Image verification fails due to changed time pairs

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      In fix for WT-5457, a disk verification starts to fail in __rec_split_write:

      copy_image:
      #ifdef HAVE_DIAGNOSTIC
          /*
           * The I/O routines verify all disk images we write, but there are paths in reconciliation that
           * don't do I/O. Verify those images, too.
           */
          WT_ASSERT(session, verify_image == false ||
              __wt_verify_dsk_image(
                session, "[reconcile-image]", chunk->image.data, 0, &multi->addr, true) == 0);
      #endif
      

      The problem is we wrote WT_TS_MAX as the stop timestamp for non-timestamped delete and change that to 1 when we read back it into memory. We should write 1 directly to cell.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: