[
https://issues.apache.org/jira/browse/KUDU-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913371#comment-17913371
]
ASF subversion and git services commented on KUDU-613:
------------------------------------------------------
Commit 484ff26e0d496be849dbd848d58e37d92fdb98f6 in kudu's branch
refs/heads/branch-1.18.x from Mahesh Reddy
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=484ff26e0 ]
KUDU-613: Fix heap-use-after-free bug
The last patch submitted to make the segment-level
metrics more relevant introduced a bug where an
entry was accessed after it was deleted. This patch
fixes that behavior by accessing the entry before
it is deleted.
Change-Id: I8f91d0984b017861ded5f1bd30fddfa29588f9aa
Reviewed-on: http://gerrit.cloudera.org:8080/22343
Reviewed-by: Alexey Serbin <[email protected]>
Reviewed-by: Abhishek Chennaka <[email protected]>
Tested-by: Alexey Serbin <[email protected]>
(cherry picked from commit 75b75ca2f58f1a5aba69207830e3558011033d99)
Reviewed-on: http://gerrit.cloudera.org:8080/22352
> Scan-resistant cache replacement algorithm for the block cache
> --------------------------------------------------------------
>
> Key: KUDU-613
> URL: https://issues.apache.org/jira/browse/KUDU-613
> Project: Kudu
> Issue Type: Improvement
> Components: perf
> Affects Versions: M4.5
> Reporter: Andrew Wang
> Assignee: Mahesh Reddy
> Priority: Major
> Labels: performance, roadmap-candidate
>
> The block cache currently uses LRU, which is vulnerable to large scan
> workloads. It'd be good to implement something like 2Q.
> ARC (patent encumbered, but good for ideas):
> https://www.usenix.org/conference/fast-03/arc-self-tuning-low-overhead-replacement-cache
> HBase (2Q like):
> https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)