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

Crash in LSM stress test

    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.6.6
    • Affects Version/s: None
    • Component/s: None

      Investigation of http://mjc.homeunix.org:8180/job/wiredtiger-test-format-stress-lsm/145/

      (gdb) where
      #0  0x00000000004255f6 in __wt_lsm_tree_worker (session=0x2806f48,
          uri=0x7f4dc0057600 "lsm:wt",
          file_func=0x4462be <__wt_checkpoint_write_leaves>, name_func=0,
          cfg=0x7f4def5fdc90, open_flags=0) at ../src/lsm/lsm_tree.c:845
      WT-1  0x000000000043a2f9 in __wt_schema_worker (session=0x2806f48,
          uri=0x7f4dc0057600 "lsm:wt",
          file_func=0x4462be <__wt_checkpoint_write_leaves>, name_func=0,
          cfg=0x7f4def5fdc90, open_flags=0) at ../src/schema/schema_worker.c:56
      WT-2  0x000000000043a427 in __wt_schema_worker (session=0x2806f48,
          uri=0x7f4dc0095400 "table:wt",
          file_func=0x4462be <__wt_checkpoint_write_leaves>, name_func=0,
          cfg=0x7f4def5fdc90, open_flags=0) at ../src/schema/schema_worker.c:73
      WT-3  0x0000000000444fa4 in __checkpoint_apply (session=0x2806f48,
          cfg=0x7f4def5fdc90, op=0x4462be <__wt_checkpoint_write_leaves>)
          at ../src/txn/txn_ckpt.c:102
      (gdb) print chunk
      $2 = (WT_LSM_CHUNK *) 0x0
      (gdb) print lsm_tree->chunks
      $3 = 20
      (gdb) print i
      $4 = 20
      

      So __wt_lsm_tree_worker has raced with a merge operation because it doesn't have the LSM tree lock.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: