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

Enforce that history store cursor lifespan is as expected

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.9.0, 4.4.5
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Storage - Ra 2021-03-08

      Description

      Sorry for the excessively vague title. A history store cursor open/close should not overlap with opening and closing other cursors. i.e: an operation on the history store should not:

      • Require opening cursors on other tables.
      • Span across an operation that can open a cursor on another table.

      We made a change in WT-6339 related to transaction snapshot management that assumes the encapsulation described above is true. We should add checks to the code to enforce it, since we are relying on the behavior.

      This is pretty well moot for internal sessions, but when a user session is tasked with doing operations on the history store we need to be careful not to interfere with that operation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chenhao.qu Chenhao Qu
              Reporter:
              alexander.gorrod Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: