[
https://issues.apache.org/jira/browse/ASTERIXDB-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834072#comment-17834072
]
ASF subversion and git services commented on ASTERIXDB-3374:
------------------------------------------------------------
Commit 5ea71db6b7acc24ec4196d5186a1805379c6e281 in asterixdb's branch
refs/heads/master from Wail Alkowaileet
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=5ea71db6b7 ]
[ASTERIXDB-3374][STO] Introduce BufferCache Op Context
- user model changes: no
- storage format changes: no
- interface changes: yes
Details:
Introduce read/write contexts for the buffer cache
pin, unpin, write operations.
Change-Id: I4f74d9eab70fee2e2f4ac694d22f3341b9bbe4bb
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18224
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Wail Alkowaileet <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>
> 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)