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

Fix crash with tiered storage and readonly connections

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Tiered storage with a readonly connection should be allowed, and we should have tests for it.  However, for a readonly connection, flush_tier should return an error.  It currently crashes:

      (gdb) bt
      #0  0x00007ffff7a22f47 in raise () from /lib/x86_64-linux-gnu/libc.so.6
      #1  0x00007ffff7a248b1 in abort () from /lib/x86_64-linux-gnu/libc.so.6
      #2  0x00007ffff4774858 in __wt_abort (session=0x555555ab6478) at ../src/os_common/os_abort.c:30
      #3  0x00007ffff47f2c97 in __wt_panic_func (session=0x555555ab6478, error=95, func=0x7ffff4877810 <__PRETTY_FUNCTION__.38473> "__wt_meta_track_off", line=342, 
          category=WT_VERB_DEFAULT, fmt=0x7ffff4877710 "failed to apply or unroll all tracked operations") at ../src/support/err.c:553
      #4  0x00007ffff476d611 in __wt_meta_track_off (session=0x555555ab6478, need_sync=false, unroll=true) at ../src/meta/meta_track.c:342
      #5  0x00007ffff4825dc7 in __txn_checkpoint (session=0x555555ab6478, cfg=0x7fffffffb3e0) at ../src/txn/txn_ckpt.c:1221
      #6  0x00007ffff482631e in __txn_checkpoint_wrapper (session=0x555555ab6478, cfg=0x7fffffffb3e0) at ../src/txn/txn_ckpt.c:1289
      #7  0x00007ffff48264c4 in __wt_txn_checkpoint (session=0x555555ab6478, cfg=0x7fffffffb3e0, waiting=true) at ../src/txn/txn_ckpt.c:1352
      #8  0x00007ffff46a0388 in __wt_flush_tier (session=0x555555ab6478, config=0x0) at ../src/conn/conn_tiered.c:564
      #9  0x00007ffff47e8554 in __session_flush_tier (wt_session=0x555555ab6478, config=0x0) at ../src/session/session_api.c:2014 

      Attachments

        Issue Links

          Activity

            People

              sue.loverso@mongodb.com Susan LoVerso
              donald.anderson@mongodb.com Donald Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: