-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: DHandles
-
None
-
Storage Engines
/* * Close all btree handles associated with this table. This must be done after we're done using * the tiered structure because that is from the dhandle. */ WT_ERR(__wt_session_release_dhandle(session)); WT_WITH_HANDLE_LIST_WRITE_LOCK( session, ret = __wt_conn_dhandle_close_all(session, uri, true, force)); WT_ERR(ret); __wt_verbose(session, WT_VERB_TIERED, "DROP_TIERED: remove tiered table %s from metadata", uri); ret = __wt_metadata_remove(session, uri); err: __wt_free(session, name); return (ret);
In __drop_tiered, we don't release the dhandle in the error path. This can lead to deadlock.