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

random direct io is failing in durable history

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      After fixing WT-5446, random_directio is failing.

      #0  0x00000000005487fd in __wt_las_cursor (session=0xa84130, cursorp=0x7f8f5bffeac0, session_flags=0x7f8f5bffeabc) at ../src/cache/cache_las.c:277
      #1  0x000000000047fc61 in __rec_las_wrapup (session=0xa84130, r=0x7f8f50195150) at ../src/reconcile/rec_write.c:2296
      #2  0x000000000047f49e in __rec_write_wrapup (session=0xa84130, r=0x7f8f50195150, page=0x7f8f4c0f9fa0) at ../src/reconcile/rec_write.c:2135
      #3  0x000000000047ab8a in __reconcile (session=0xa84130, ref=0x7f8f4c12daf0, salvage=0x0, flags=90, page_lockedp=0x7f8f5bffec6e) at ../src/reconcile/rec_write.c:200
      #4  0x000000000047a77c in __wt_reconcile (session=0xa84130, ref=0x7f8f4c12daf0, salvage=0x0, flags=90) at ../src/reconcile/rec_write.c:87
      #5  0x000000000043f65e in __evict_review (session=0xa84130, ref=0x7f8f4c12daf0, evict_flags=0, inmem_splitp=0x7f8f5bffed4f) at ../src/evict/evict_page.c:629
      #6  0x000000000043dc6f in __wt_evict (session=0xa84130, ref=0x7f8f4c12daf0, previous_state=3, flags=0) at ../src/evict/evict_page.c:149
      #7  0x000000000043a8ad in __evict_page (session=0xa84130, is_server=false) at ../src/evict/evict_lru.c:2236
      #8  0x00000000004369cd in __evict_lru_pages (session=0xa84130, is_server=false) at ../src/evict/evict_lru.c:1106
      #9  0x0000000000434be5 in __wt_evict_thread_run (session=0xa84130, thread=0x9a0fc0) at ../src/evict/evict_lru.c:311
      #10 0x00000000004b9846 in __thread_run (arg=0x9a0fc0) at ../src/support/thread_group.c:31
      #11 0x00007f8f64e6c6db in start_thread (arg=0x7f8f5bfff700) at pthread_create.c:463
      #12 0x00007f8f6477088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      (gdb) f 1
      #1  0x000000000047fc61 in __rec_las_wrapup (session=0xa84130, r=0x7f8f50195150) at ../src/reconcile/rec_write.c:2296
      2296	    __wt_las_cursor(session, &cursor, &session_flags);
      (gdb) p i
      $1 = 0
      (gdb) p r->multi_next
      $2 = 5
      (gdb) p r->multi[0]
      $3 = {key = {recno = 140253502824160, ikey = 0x7f8f5036dee0}, disk_image = 0x7f8f5035e420, supd = 0x7f8f50195b80, supd_entries = 2, addr = {newest_durable_ts = 0,
          oldest_start_ts = 0, oldest_start_txn = 125087, newest_stop_ts = 18446744073709551615, newest_stop_txn = 18446744073709551605,
          addr = 0x7f8f5008b720 "\316\003\207\344T2\003\n\220", size = 8 '\b', type = 3 '\003', reuse = 0 '\000'}, size = 28537, checksum = 0}
      (gdb) p r->multi[0]->supd
      $4 = (struct __wt_save_upd *) 0x7f8f50195b80
      (gdb) p *r->multi[0]->supd
      $5 = {ins = 0x30a4190, ripcip = 0x0, onpage_upd = 0x0}
      (gdb) p *r->multi[0]->supd->ins
      $6 = {upd = 0x3288380, u = {recno = 107374182432, key = {offset = 32, size = 25}}, next = 0x30a41a0}
      (gdb) p *r->multi[0]->supd->ins.upd
      $7 = {txnid = 154421, durable_ts = 0, start_ts = 0, next = 0x0, size = 25, type = 4 '\004', prepare_state = 0 '\000', flags = 0 '\000',
        data = 0x32883a7 "1834100000_2_th-2       "}
      

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: