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

Fix conflict with a prepared update failure in test_prepare_hs04

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Storage - Ra 2020-08-24
    • Hide
      Since this may be a fallout of the attempted WT-6524 fix and we aborted that fix in favour of another approach, close this for now. Reopen if it reproduces.
      Show
      Since this may be a fallout of the attempted WT-6524 fix and we aborted that fix in favour of another approach, close this for now. Reopen if it reproduces.

      When testing WT-6524, the following failure occur:

       [2020/08/08 20:03:25.386] ======================================================================
       [2020/08/08 20:03:25.386] ERROR: test_prepare_hs04.test_prepare_hs04.test_prepare_hs(rollback_transaction) (subunit.RemotedTestCase)
       [2020/08/08 20:03:25.386] test_prepare_hs04.test_prepare_hs04.test_prepare_hs(rollback_transaction)
       [2020/08/08 20:03:25.386] ----------------------------------------------------------------------
       [2020/08/08 20:03:25.386] _StringException: Traceback (most recent call last):
       [2020/08/08 20:03:25.386]   File "/data/mci/8e172bdafad62a8ac49d53933d6b474a/wiredtiger/test/suite/test_prepare_hs04.py", line 219, in test_prepare_hs
       [2020/08/08 20:03:25.386]     self.prepare_updates(ds)
       [2020/08/08 20:03:25.386]   File "/data/mci/8e172bdafad62a8ac49d53933d6b474a/wiredtiger/test/suite/test_prepare_hs04.py", line 177, in prepare_updates
       [2020/08/08 20:03:25.386]     self.search_keys_timestamp_and_ignore(ds, txn_config, None)
       [2020/08/08 20:03:25.386]   File "/data/mci/8e172bdafad62a8ac49d53933d6b474a/wiredtiger/test/suite/test_prepare_hs04.py", line 75, in search_keys_timestamp_and_ignore
       [2020/08/08 20:03:25.386]     self.assertEqual(cursor.search(), wiredtiger.WT_NOTFOUND)
       [2020/08/08 20:03:25.386] WiredTigerError: WT_PREPARE_CONFLICT: conflict with a prepared update
       [2020/08/08 20:03:25.386] ----------------------------------------------------------------------
      

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: