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

Potential race in __sweep_discard_trees

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Story Points:
      8
    • Sprint:
      Storage - Ra 2021-11-15

      Description

      In  __sweep_expire_one we are holding the dhandle->rwlock while we call __wt_conn_dhandle_close. In __sweep_discard_trees, we do not hold a lock while making the same call.  We should understand the reasons for holding the lock in the first case, and consider holding the same lock.  Sulabh Mahajan noticed this issue in the work for WT-7392.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            donald.anderson Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: