You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Wail Y. Alkowaileet (Jira)" <ji...@apache.org> on 2024/04/03 16:55:00 UTC

[jira] [Created] (ASTERIXDB-3374) Contextualize the BufferCache's pin, upin, and write operations

Wail Y. Alkowaileet created ASTERIXDB-3374:
----------------------------------------------

             Summary: Contextualize the BufferCache's pin, upin, and write operations
                 Key: ASTERIXDB-3374
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3374
             Project: Apache AsterixDB
          Issue Type: Improvement
          Components: STO - Storage
    Affects Versions: 0.9.9
            Reporter: Wail Y. Alkowaileet
            Assignee: Wail Y. Alkowaileet
             Fix For: 0.9.9


The buffer cache's pin, unpin, and write operations are not exposed to the context of the overall on going operation. To some extent, the pin operation have some context (e.g., not incrementing a stat). Changing the buffer cache interface every time we want to incorporate contextual information is not sustainable. Instead, a user of the buffer cache should provide a context object that can hold all the necessary information of a given buffer cache operation (e.g., incrementing stars or processing the header when reading a page in a pin operation). 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)