Fix test_truncate22 timestamp usage

XMLWordPrintableJSON

    • v7.1

      test_truncate22 fails with the following error:

      [1694590737:411086][76807:0x7f05db1d4800], test_truncate22.test_truncate22.test_truncate22(integer-row), WT_SESSION.commit_transaction: [WT_VERB_DEFAULT][ERROR]: __txn_timestamp_usage_check, 885: file:test_truncate22.wt: unexpected timestamp usage: updating a value with a timestamp (0, 5) before the previous update (0, 6): Invalid argument
      [1694590737:411127][76807:0x7f05db1d4800], test_truncate22.test_truncate22.test_truncate22(integer-row), WT_SESSION.commit_transaction: [WT_VERB_DEFAULT][ERROR]: __wt_abort, 28: aborting WiredTiger library
      

      The test attempts to set the commit timestamp for a transaction with a truncate operation before performing the truncate. This is causing fallout when running with --hook timestamp to verify the timestamp usage.

            Assignee:
            Sean Watt
            Reporter:
            Sean Watt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: