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

Potential race in __sweep_discard_trees

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

      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.

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

              Created:
              Updated:
              Resolved: