[
https://issues.apache.org/jira/browse/HBASE-23950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kai Xie updated HBASE-23950:
----------------------------
Attachment: HBASE-23950-branch-2.1-v1.patch
Status: Patch Available (was: Open)
> Backport HBASE-22480 to branch-2.1
> ----------------------------------
>
> Key: HBASE-23950
> URL: https://issues.apache.org/jira/browse/HBASE-23950
> Project: HBase
> Issue Type: Bug
> Components: BucketCache
> Affects Versions: 2.1.9, 2.0.6
> Reporter: Kai Xie
> Priority: Major
> Attachments: HBASE-23950-branch-2.1-v1.patch
>
>
> My HBase 2.0/2.1 cluster experienced severe performance drop after running
> reversed scans for days. When debug into regionserver logs, it appears the
> bucket cache is full for every ~100 ms and its eviction can't work properly
> because ref count has become negative:
> {code:java}
> (every ~100 ms)
> Free started because "Full!"
> This block AAA is still referred by -1 readers. Can not be freed now
> This block BBB is still referred by -2 readers. Can not be freed now
> This block CCC is still referred by -3 readers. Can not be freed now
> ...
> This block ... is still referred by (negative number) readers. Can not be
> freed now
> {code}
> There have been patch HBASE-22480 addressing this ref count problem in 2.2+.
> I'd like to backport it to 2.1 (understand that 2.0 is EOL)
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)