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

Create of tiered table is opening object file handles

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

      Since the merge of WT-7833, schema_abort when run with tiered tables is sometimes failing with this error on a drop:

      [1663858516:290204][25501:0x7f3a8bfff700], WT_SESSION.drop: [WT_VERB_DEFAULT][ERROR]: int __wt_fs_remove(WT_SESSION_IMPL *, const char *, _Bool), 145: wt.47-0000000001.wtobj: file-remove: file has open handles: Invalid argument
      

      I have traced it back to the fact that session->create of a tiered table is now opening the object during create. Non-tiered tables and prior to that ticket merge, file handles are opened on the first session->open_cursor call.

      The code in schema_abort/main.c does a:

      • session->create
      • session->drop

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

              Created:
              Updated:
              Resolved: