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

Investigate and refactor evict-owned public-data-members residing in other modules

    • Storage Engines
    • StorEng - Defined Pipeline

      Based on the 1.1 doc, it has been observed that some evict-owned public data members reside in other modules (e.g. evict_busy in WT_BTREE struct).

      This ticket aims to investigate the feasibility of converting these public data members to private to enhance encapsulation.

      If this change is found to be feasible, proceed with the necessary refactoring.

      For example, in a recent POC, Keith attempted to make the read_gen member (residing in WT_PAGE) private to the eviction module.

      Acceptance Criteria:

      • Review and identify eviction owned public data members in the WT_CONN, WT_BTREE, WT_PAGE, WT_SESSION, WT_PAGE_MODIFY structs.
      • Investigate the feasibility of making these data members private.
      • Implement changes if the modifications are straightforward.

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

              Created:
              Updated: