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

Potential race in __sweep_discard_trees

    XMLWordPrintableJSON

Details

    • 8
    • Storage Engines - 2022-06-27, Storage Engines - 2022-07-11, Storage Engines - 2022-07-25

    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

            alexey.anisimov@mongodb.com Alexey Anisimov (Inactive)
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: