hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HBase Review Board (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3082) For ICV gets, first look in MemStore before reading StoreFiles
Date Wed, 20 Oct 2010 19:01:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-3082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923097#action_12923097

HBase Review Board commented on HBASE-3082:

Message from: "Jonathan Gray" <jgray@apache.org>

This is an automatically generated e-mail. To reply, visit:


    Need to add apache licenses


    Maybe a little more description here.  Like, why do we need this.
    Also, is ControlledScan the best name for this class?  Not clear to me that this is "controlled"
and thus the other scans are "uncontrolled"?
    If this was to be used for more later and even for this use, it's really additional configuration/options
for Scans.  So is an InternalScan or ModifiedScan?


    Rather than these two public booleans, we should have getters/setters.
    And even rather than just straight set/get on each boolean, these two booleans are usually
one or the other, right?  So I think it would be better to hide implementation detail and
instead expose methods like setMemStoreOnly() and setFilesOnly() which would deal with the
two booleans appropriately.  Then you'd have get methods like checkMemStore() and checkFiles()
or something like that.




    Need to cleanup whitespace here.
    Maybe a little bit of javadoc for get_last_increment which describes what this does (and
why it's still "correct" for increments)

- Jonathan

> For ICV gets, first look in MemStore before reading StoreFiles
> --------------------------------------------------------------
>                 Key: HBASE-3082
>                 URL: https://issues.apache.org/jira/browse/HBASE-3082
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Jonathan Gray
>            Assignee: Prakash Khemani
> For incrementColumnValue operations, it is possible to check MemStore for the column
being incremented without sacrificing correctness.  If the column is not found in MemStore,
we would then have to do a normal Get that opens/checks all StoreFiles for the given Store.
> In practice, this makes increment operations significantly faster for recently/frequently
incremented columns.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message