-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: History Store
-
None
-
Storage Engines
-
3
-
StorEng - 2024-10-01
-
v8.0, v7.0
The connection default_session is used for saving the connection details whenever a connection API is called. With the introduction of allowing to open the statistics cursor during recovery to collect the statistics can reset the default_session values while opening the session for the statistics cursor.
Due to this reason, this default_session should not be used for creating the history store table as this session data can get reset at any time by the statistics thread that wants to access the statistics data.
Create an internal session for creating the history store file instead of using the connection's default session to avoid this race of resetting the values while it is being accessed.