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

Fix incorrect assertion regarding prepared update resolution

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.2.2, 4.3.2
    • Component/s: None
    • Labels:
      None
    • Story Points:
      8
    • Sprint:
      Storage Engines 2019-10-21, Storage Engines 2019-11-04, Storage Engines 2019-11-18

      Description

      Summary:
      Remove an incorrect assertion, no code behavior change.

      Some invalid argument error during commit_transaction was captured by test/format in Evergreen compatibility tests:

       [2019/09/13 14:58:05.456] t: process 15752
       [2019/09/13 14:58:05.456]    1: table, fixed-length column-store (250 seconds)
       [2019/09/13 14:59:56.846] [1568350796:846072][15841:0x7fc7caffd700], t, file:wt.wt, WT_SESSION.commit_transaction: __wt_txn_commit, 974: Number of resolved prepared updates: 4988 does not match number visited: 4989: Invalid argument
       [2019/09/13 14:59:56.847] t: process 15841 

      The configuration:

       [2019/09/13 14:59:56.847] ############################################
       [2019/09/13 14:59:56.847] #  RUN PARAMETERS
       [2019/09/13 14:59:56.847] ############################################
       [2019/09/13 14:59:56.847] abort=0
       [2019/09/13 14:59:56.847] alter=0
       [2019/09/13 14:59:56.847] assert_commit_timestamp=0
       [2019/09/13 14:59:56.847] assert_read_timestamp=0
       [2019/09/13 14:59:56.847] auto_throttle=1
       [2019/09/13 14:59:56.847] backups=0
       [2019/09/13 14:59:56.847] bitcnt=6
       [2019/09/13 14:59:56.847] bloom=1
       [2019/09/13 14:59:56.847] bloom_bit_count=44
       [2019/09/13 14:59:56.847] bloom_hash_count=10
       [2019/09/13 14:59:56.847] bloom_oldest=0
       [2019/09/13 14:59:56.847] cache=80
       [2019/09/13 14:59:56.847] cache_minimum=0
       [2019/09/13 14:59:56.847] checkpoints=1
       [2019/09/13 14:59:56.847] checkpoint_log_size=187
       [2019/09/13 14:59:56.847] checkpoint_wait=26
       [2019/09/13 14:59:56.847] checksum=uncompressed
       [2019/09/13 14:59:56.847] chunk_size=6
       [2019/09/13 14:59:56.847] compaction=0
       [2019/09/13 14:59:56.847] compression=snappy
       [2019/09/13 14:59:56.847] data_extend=0
       [2019/09/13 14:59:56.847] data_source=table
       [2019/09/13 14:59:56.847] delete_pct=13
       [2019/09/13 14:59:56.847] dictionary=1
       [2019/09/13 14:59:56.847] direct_io=0
       [2019/09/13 14:59:56.847] encryption=rotn-7
       [2019/09/13 14:59:56.847] evict_max=4
       [2019/09/13 14:59:56.847] file_type=row-store
       [2019/09/13 14:59:56.847] firstfit=0
       [2019/09/13 14:59:56.847] huffman_key=0
       [2019/09/13 14:59:56.847] huffman_value=0
       [2019/09/13 14:59:56.847] independent_thread_rng=0
       [2019/09/13 14:59:56.847] in_memory=0
       [2019/09/13 14:59:56.847] insert_pct=27
       [2019/09/13 14:59:56.847] internal_key_truncation=1
       [2019/09/13 14:59:56.847] internal_page_max=16
       [2019/09/13 14:59:56.847] isolation=snapshot
       [2019/09/13 14:59:56.847] key_gap=1
       [2019/09/13 14:59:56.847] key_max=55
       [2019/09/13 14:59:56.847] key_min=15
       [2019/09/13 14:59:56.847] leaf_page_max=11
       [2019/09/13 14:59:56.847] leak_memory=1
       [2019/09/13 14:59:56.847] logging=0
       [2019/09/13 14:59:56.847] logging_archive=0
       [2019/09/13 14:59:56.847] logging_compression=snappy
       [2019/09/13 14:59:56.847] logging_file_max=405993
       [2019/09/13 14:59:56.847] logging_prealloc=1
       [2019/09/13 14:59:56.847] long_running_txn=0
       [2019/09/13 14:59:56.847] lsm_worker_threads=3
       [2019/09/13 14:59:56.847] memory_page_max=6
       [2019/09/13 14:59:56.847] merge_max=11
       [2019/09/13 14:59:56.847] mmap=1
       [2019/09/13 14:59:56.847] modify_pct=13
       [2019/09/13 14:59:56.847] ops=0
       [2019/09/13 14:59:56.847] prefix_compression=0
       [2019/09/13 14:59:56.847] prefix_compression_min=2
       [2019/09/13 14:59:56.847] prepare=1
       [2019/09/13 14:59:56.847] quiet=1
       [2019/09/13 14:59:56.847] read_pct=0
       [2019/09/13 14:59:56.847] rebalance=0
       [2019/09/13 14:59:56.847] repeat_data_pct=48
       [2019/09/13 14:59:56.847] reverse=0
       [2019/09/13 14:59:56.847] rows=1000000
       [2019/09/13 14:59:56.847] runs=1
       [2019/09/13 14:59:56.847] salvage=0
       [2019/09/13 14:59:56.847] split_pct=64
       [2019/09/13 14:59:56.847] statistics=0
       [2019/09/13 14:59:56.847] statistics_server=0
       [2019/09/13 14:59:56.847] threads=10
       [2019/09/13 14:59:56.847] timer=4
       [2019/09/13 14:59:56.847] timing_stress_aggressive_sweep=0
       [2019/09/13 14:59:56.847] timing_stress_checkpoint=0
       [2019/09/13 14:59:56.847] timing_stress_lookaside_sweep=0
       [2019/09/13 14:59:56.847] timing_stress_split_1=0
       [2019/09/13 14:59:56.847] timing_stress_split_2=0
       [2019/09/13 14:59:56.847] timing_stress_split_3=0
       [2019/09/13 14:59:56.847] timing_stress_split_4=0
       [2019/09/13 14:59:56.847] timing_stress_split_5=0
       [2019/09/13 14:59:56.847] timing_stress_split_6=0
       [2019/09/13 14:59:56.847] timing_stress_split_7=0
       [2019/09/13 14:59:56.847] timing_stress_split_8=0
       [2019/09/13 14:59:56.847] transaction_timestamps=1
       [2019/09/13 14:59:56.847] transaction-frequency=100
       [2019/09/13 14:59:56.847] truncate=1
       [2019/09/13 14:59:56.847] value_max=1778
       [2019/09/13 14:59:56.847] value_min=4
       [2019/09/13 14:59:56.847] verify=0
       [2019/09/13 14:59:56.847] wiredtiger_config=
       [2019/09/13 14:59:56.847] write_pct=47
       [2019/09/13 14:59:56.847] ############################################ 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              keith.bostic Keith Bostic
              Reporter:
              luke.chen Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: