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

Block pinned timestamp from moving if there is an open version cursor

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.0.0, 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage - Ra 2022-02-07

      Summary

      Version cursor needs to block the pinned timestamp from moving during the time it is being walked. It is currently achieved by setting the read timestamp of the transaction as the oldest timestamp.

      We can improve this by removing this extra setting requirements from user. When updating the pinned timestamp, we can check whether there is any version cursor open and don't update the pinned timestamp if there are version cursors open.

      How likely is it that this use case or problem will occur?

      N/A

      Is this issue urgent?

      No.

      Acceptance Criteria (Definition of Done)

      Implement the solution to block the pinned timestamp from moving and passing the test

      Testing

      Update the ex_cursor.c, test_cursor18, and test_cursor19 to remove the read timestamp settings.

      Documentation update

      Update the ex_cursor.c, test_cursor18, and test_cursor19 to remove the read timestamp settings.

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

              Created:
              Updated:
              Resolved: