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

Enable cursor caching for cursors used to resolve uncommitted updates

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              sulabh.mahajan Sulabh Mahajan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: