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

Separate Eviction (evict.h) from Cache (cache.h)

    • Storage Engines
    • 5
    • StorEng - 2024-10-01

      Parent ticket - WT-13599

      As we progress with eviction modularising, it's been found that separating eviction into it's own struct is crucial for defining it's clear boundary.  

      Currently, cache metadata, cache pool and eviction are usually defined within a single struct and are configured, created, and destroyed using the same functions. However, based on the boundaries defined in the 1.1 doc. It is evident that eviction, in terms of its functionality, should be distinct from cache metadata and cache pool. Therefore, the foundational step is to separate eviction-related components. 

      A POC has been created here, it was quite straightforward to do so.

      Scope -

      • Seperate all eviction related fields, structs, macros.

            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:
              Resolved: