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

Enforce that history store cursor lifespan is as expected

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

      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.

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

              Created:
              Updated:
              Resolved: