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

Enable cursor caching for cursors used to resolve uncommitted updates

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The change for WT-8306 introduces resolving uncommitted updates if they are not in memory already. A cursor is used to find these updates and later when the cursor is closed we decide not to cache it. This is because we have deterministic python tests, eg: test_cursor13 that expect a certain number of cursors to be cached and reopened. Since when we need to resolve the uncommitted updates through slow path (searching with a cursor) is not deterministic, the python tests fail intermittently. Hence for WT-8306 we decided to not cache the cursors used.

      We will like to cache the cursors, since it is good for performance. The code to cache the cursor is functionally correct, but the testing needs to be enhanced to pass with it.

      This ticket will explore how to get the tests passing with cached cursors and then enable the caching of these cursors.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: