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

Create of tiered table is opening object file handles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: