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

Fix test_truncate22 timestamp usage

    • 2
    • TheMoon-StorEng - 2023-09-19
    • 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@mongodb.com Sean Watt
            Reporter:
            sean.watt@mongodb.com Sean Watt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: