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

Circular dependency on in memory file system and connection

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • StorEng - Defined Pipeline

      There is a circular dependency when terminating an inmemory file system.  The connection requires the session to then call filesystem terminate. The file system terminate then eventually calls __im_handle_remove, which requires a variable from the connection, see here:

          bucket = im_fh->name_hash & (S2C(session)->hash_size - 1);
          WT_FILE_HANDLE_REMOVE(im_fs, im_fh, bucket);
      

      This ticket involves finding a method to remove this weak circular dependency.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            jie.chen@mongodb.com Jie Chen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: