hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12295) Prevent block eviction under us if reads are in progress from the BBs
Date Thu, 04 Jun 2015 04:54:39 GMT

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

ramkrishna.s.vasudevan updated HBASE-12295:
-------------------------------------------
    Attachment: HBASE-12295_1.patch
                HBASE-12295_1.pdf

Updated patch and corresponding document.  It also includes HBASE-13287.

-> Creates a ref count mechanism for the blocks being referred in a read.
-> Allows the cellblocks to be created in the layers before the RPCServer for the scans
and gets.
-> Block eviction happens only after the ref count becomes 0 and the decrement of the ref
count happens after the creation of cells blocks for the java case and when the results are
copied for the non-java case.  
More details in the doc attached.


> Prevent block eviction under us if reads are in progress from the BBs
> ---------------------------------------------------------------------
>
>                 Key: HBASE-12295
>                 URL: https://issues.apache.org/jira/browse/HBASE-12295
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver, Scanners
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>
>         Attachments: HBASE-12295.pdf, HBASE-12295_1.patch, HBASE-12295_1.pdf, HBASE-12295_trunk.patch
>
>
> While we try to serve the reads from the BBs directly from the block cache, we need to
ensure that the blocks does not get evicted under us while reading.  This JIRA is to discuss
and implement a strategy for the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message