-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: DHandles
-
None
-
Storage Engines
-
33.714
-
None
-
None
Picking up a checkpoint marks all live b-trees outdated whenever they are updated during checkpoint pick up. As written in the code, arguably, this should be done either at step-up or step-down:
/*
* Mark all live btrees as outdated. Otherwise, we will not open a new dhandle for live btrees
* after step-up.
*
* TODO: This is better done at step-up or step-down to force close all live btrees.
*/
WT_WITHOUT_DHANDLE(session, ret = __wti_conn_dhandle_outdated(session, sh_file_key));
WT_ERR_MSG_CHK(session, ret, "Marking data handles outdated failed: \"%s\"", sh_file_key);