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

Investigate and Refactor Public Data Members in WT_EVICT Private

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cache and Eviction
    • Storage Engines
    • StorEng - Defined Pipeline

      Based on the 1.1 doc, it has been observed that some data members in the WT_EVICT struct are currently public. 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 private to the eviction module.

      Similar changes should be explored for other data members within the WT_EVICT struct.

      Acceptance Criteria:

      • Review and identify public data members in the WT_EVICT struct.
      • Investigate the feasibility of making these data members private.
      • Implement changes if the modifications are straightforward.

            Assignee:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Reporter:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: