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

Fix exact return when we place the history store cursor on e exact key initially

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.4.5, 4.9.0-rc1, 5.0.0-rc0
    • Component/s: None
    • Labels:
      None

      Description

      Error signature calling:

      format.sh: job in /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/test/format/RUNDIR.3 failed
       [2021/03/20 10:43:07.678]     t: process 28900 running
       [2021/03/20 10:43:07.678]     [1616236979:750400][28900:0x3ff87fff910], file:WiredTigerHS.wt, WT_CURSOR.search_near: __curhs_search_near, 742: (cmp == 0 && *exactp == 0) || (cmp < 0 && *exactp < 0) || (cmp > 0 && *exactp > 0)
       [2021/03/20 10:43:07.678]     [1616236979:750451][28900:0x3ff87fff910], file:WiredTigerHS.wt, WT_CURSOR.search_near: __wt_abort, 28: aborting WiredTiger library
       [2021/03/20 10:43:07.678]     Aborted (core dumped) 

      Backtrace:

      Backtrace:
       [2021/03/20 10:43:07.678]     /lib/s390x-linux-gnu/libc.so.6(gsignal+0x8c)[0x3ff8d5bdef4]
       [2021/03/20 10:43:07.678]     /lib/s390x-linux-gnu/libc.so.6(abort+0x172)[0x3ff8d5bf37a]
       [2021/03/20 10:43:07.678]     ./t(__wt_ext_map_windows_error+0x0)[0x1008d50]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/include/btree_cmp_inline.h:91(__wt_lex_compare)[0x10678a8]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/cursor/cur_hs.c:542(__curhs_search_near_helper)[0x106aed6]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/history/hs_rec.c:671(__wt_hs_delete_key_from_ts)[0x12216a6]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/reconcile/rec_row.c:926(__wt_rec_row_leaf)[0x12571f6]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/reconcile/rec_write.c:191(__reconcile)[0x10c8862]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/evict/evict_page.c:702(__evict_review)[0x1084522]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/evict/evict_page.c:159(__wt_evict)[0x10856de]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/evict/evict_lru.c:2311(__evict_page)[0x107aacc]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/evict/evict_lru.c:1140(__evict_lru_pages)[0x107b2f8]
       [2021/03/20 10:43:07.678]     ./t(__wt_evict_thread_run+0x8e)[0x108072e]
       [2021/03/20 10:43:07.678]     /data/mci/d76bd810b69befe9203ce3d0ffcefa84/wiredtiger/build_posix/../src/support/thread_group.c:31(__thread_run)[0x111f2de]
       [2021/03/20 10:43:07.678]     /lib/s390x-linux-gnu/libpthread.so.0(+0x7aa8)[0x3ff8d907aa8]
       [2021/03/20 10:43:07.678]     /lib/s390x-linux-gnu/libc.so.6(+0xfa936)[0x3ff8d67a936]
       [2021/03/20 10:43:07.678]     ??:0(??)[0x0] 

      Config:

      [2021/03/20 10:43:07.679]     ############################################
       [2021/03/20 10:43:07.679]     #  RUN PARAMETERS: V2
       [2021/03/20 10:43:07.679]     ############################################
       [2021/03/20 10:43:07.679]     assert.commit_timestamp=0
       [2021/03/20 10:43:07.679]     assert.read_timestamp=0
       [2021/03/20 10:43:07.679]     backup=0
       [2021/03/20 10:43:07.679]     backup.incremental=off
       [2021/03/20 10:43:07.679]     backup.incr_granularity=1761
       [2021/03/20 10:43:07.679]     btree.bitcnt=6
       [2021/03/20 10:43:07.679]     btree.compression=snappy
       [2021/03/20 10:43:07.679]     btree.dictionary=0
       [2021/03/20 10:43:07.679]     btree.huffman_value=0
       [2021/03/20 10:43:07.679]     btree.internal_key_truncation=1
       [2021/03/20 10:43:07.679]     btree.internal_page_max=9
       [2021/03/20 10:43:07.679]     btree.key_gap=10
       [2021/03/20 10:43:07.679]     btree.key_max=55
       [2021/03/20 10:43:07.679]     btree.key_min=16
       [2021/03/20 10:43:07.679]     btree.leaf_page_max=12
       [2021/03/20 10:43:07.679]     btree.memory_page_max=3
       [2021/03/20 10:43:07.679]     btree.prefix_compression=1
       [2021/03/20 10:43:07.679]     btree.prefix_compression_min=0
       [2021/03/20 10:43:07.679]     btree.repeat_data_pct=73
       [2021/03/20 10:43:07.679]     btree.reverse=0
       [2021/03/20 10:43:07.679]     btree.split_pct=59
       [2021/03/20 10:43:07.679]     btree.value_max=3809
       [2021/03/20 10:43:07.679]     btree.value_min=11
       [2021/03/20 10:43:07.679]     cache=96
       [2021/03/20 10:43:07.679]     cache.evict_max=3
       [2021/03/20 10:43:07.679]     cache.minimum=20
       [2021/03/20 10:43:07.679]     checkpoint=on
       [2021/03/20 10:43:07.679]     checkpoint.log_size=174
       [2021/03/20 10:43:07.679]     checkpoint.wait=78
       [2021/03/20 10:43:07.679]     disk.checksum=uncompressed
       [2021/03/20 10:43:07.679]     disk.data_extend=0
       [2021/03/20 10:43:07.679]     disk.direct_io=0
       [2021/03/20 10:43:07.679]     disk.encryption=none
       [2021/03/20 10:43:07.679]     disk.firstfit=0
       [2021/03/20 10:43:07.679]     disk.mmap=1
       [2021/03/20 10:43:07.679]     disk.mmap_all=0
       [2021/03/20 10:43:07.679]     format.abort=0
       [2021/03/20 10:43:07.679]     format.independent_thread_rng=1
       [2021/03/20 10:43:07.679]     format.major_timeout=0
       [2021/03/20 10:43:07.679]     logging=1
       [2021/03/20 10:43:07.679]     logging.archive=0
       [2021/03/20 10:43:07.679]     logging.compression=none
       [2021/03/20 10:43:07.679]     logging.file_max=176407
       [2021/03/20 10:43:07.679]     logging.prealloc=1
       [2021/03/20 10:43:07.679]     lsm.auto_throttle=1
       [2021/03/20 10:43:07.679]     lsm.bloom=1
       [2021/03/20 10:43:07.679]     lsm.bloom_bit_count=27
       [2021/03/20 10:43:07.679]     lsm.bloom_hash_count=6
       [2021/03/20 10:43:07.679]     lsm.bloom_oldest=0
       [2021/03/20 10:43:07.679]     lsm.chunk_size=2
       [2021/03/20 10:43:07.679]     lsm.merge_max=17
       [2021/03/20 10:43:07.679]     lsm.worker_threads=4
       [2021/03/20 10:43:07.679]     ops.alter=0
       [2021/03/20 10:43:07.679]     ops.compaction=0
       [2021/03/20 10:43:07.679]     ops.hs_cursor=1
       [2021/03/20 10:43:07.679]     ops.pct.delete=8
       [2021/03/20 10:43:07.679]     ops.pct.insert=7
       [2021/03/20 10:43:07.679]     ops.pct.modify=17
       [2021/03/20 10:43:07.679]     ops.pct.read=59
       [2021/03/20 10:43:07.679]     ops.pct.write=9
       [2021/03/20 10:43:07.679]     ops.prepare=0
       [2021/03/20 10:43:07.679]     ops.random_cursor=0
       [2021/03/20 10:43:07.679]     ops.salvage=0
       [2021/03/20 10:43:07.679]     ops.truncate=1
       [2021/03/20 10:43:07.679]     ops.verify=1
       [2021/03/20 10:43:07.679]     quiet=1
       [2021/03/20 10:43:07.679]     runs=1
       [2021/03/20 10:43:07.679]     runs.in_memory=0
       [2021/03/20 10:43:07.679]     runs.ops=0
       [2021/03/20 10:43:07.679]     runs.rows=100000
       [2021/03/20 10:43:07.679]     runs.source=table
       [2021/03/20 10:43:07.679]     runs.threads=6
       [2021/03/20 10:43:07.679]     runs.timer=4
       [2021/03/20 10:43:07.679]     runs.type=row-store
       [2021/03/20 10:43:07.679]     runs.verify_failure_dump=0
       [2021/03/20 10:43:07.679]     statistics=0
       [2021/03/20 10:43:07.679]     statistics.server=1
       [2021/03/20 10:43:07.679]     stress.aggressive_sweep=0
       [2021/03/20 10:43:07.679]     stress.checkpoint=0
       [2021/03/20 10:43:07.679]     stress.checkpoint_prepare=0
       [2021/03/20 10:43:07.680]     stress.hs_checkpoint_delay=0
       [2021/03/20 10:43:07.680]     stress.hs_search=0
       [2021/03/20 10:43:07.680]     stress.hs_sweep=0
       [2021/03/20 10:43:07.680]     stress.split_1=0
       [2021/03/20 10:43:07.680]     stress.split_2=0
       [2021/03/20 10:43:07.680]     stress.split_3=0
       [2021/03/20 10:43:07.680]     stress.split_4=0
       [2021/03/20 10:43:07.680]     stress.split_5=0
       [2021/03/20 10:43:07.680]     stress.split_6=0
       [2021/03/20 10:43:07.680]     stress.split_7=0
       [2021/03/20 10:43:07.680]     stress.split_8=0
       [2021/03/20 10:43:07.680]     transaction.frequency=100
       [2021/03/20 10:43:07.680]     transaction.isolation=snapshot
       [2021/03/20 10:43:07.680]     transaction.rollback_to_stable=0
       [2021/03/20 10:43:07.680]     transaction.timestamps=1
       [2021/03/20 10:43:07.680]     wiredtiger.config=
       [2021/03/20 10:43:07.680]     wiredtiger.rwlock=1
       [2021/03/20 10:43:07.680]     wiredtiger.leak_memory=0
       [2021/03/20 10:43:07.680]     ############################################ 

        Attachments

          Activity

            People

            Assignee:
            chenhao.qu Chenhao Qu
            Reporter:
            etienne.petrel Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: