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

Use internal session to create the history store table instead of default session

    • 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.

            Assignee:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: