Potential race in __sweep_discard_trees

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: