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

tiered structure in work unit has empty bstorage field

    • 8

      When running code with tiered support in schema_abort (from WT-9369) I am hitting a seg fault in the internal thread. It is processing a tiered FLUSH work unit. The entry->tiered structure is a valid dhandle it is not a valid tiered structure (the tiered structure is a superset handle of the dhandle).

      The bstorage field and other tiered related fields are all NULL.

      (gdb) p tiered->bstorage
      $3 = (WT_BUCKET_STORAGE *) 0x0
      

      The stack:

      (gdb) bt
      #0  0x00007f9e955c6bb8 in __tier_do_operation (session=0x7f9e95c09890, tiered=0x7f9e6426f760, id=1, 
          local_uri=0x7f9e54000c60 "file:wt.127-0000000001.wtobj", obj_uri=0x7f9e54000c90 "object:wt.127-0000000001.wtobj", op=4)
          at ../src/conn/conn_tiered.c:320
      #1  0x00007f9e955c6ab1 in __tier_operation (session=0x7f9e95c09890, tiered=0x7f9e6426f760, id=1, op=4)
          at ../src/conn/conn_tiered.c:387
      #2  0x00007f9e955c67f0 in __tier_storage_copy (session=0x7f9e95c09890) at ../src/conn/conn_tiered.c:466
      #3  0x00007f9e955c5ffe in __tiered_server (arg=0x7f9e95c09890) at ../src/conn/conn_tiered.c:613
      #4  0x00007f9e9527a6db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      #5  0x00007f9e94b9761f in clone () from /lib/x86_64-linux-gnu/libc.so.6
      

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: