[ 
https://issues.apache.org/jira/browse/ASTERIXDB-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wail Y. Alkowaileet updated ASTERIXDB-3374:
-------------------------------------------
    Description: 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 stats or processing the header when reading 
a page in a pin operation).   (was: 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). )

> 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
>            Priority: Major
>             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 stats or processing the header when reading a 
> page in a pin operation). 



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

Reply via email to