hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17168) Use a cell as the start point of a scan internally
Date Thu, 02 Nov 2017 13:40:01 GMT

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

Duo Zhang updated HBASE-17168:
------------------------------
    Issue Type: Improvement  (was: Sub-task)
        Parent:     (was: HBASE-17143)

> Use a cell as the start point of a scan internally
> --------------------------------------------------
>
>                 Key: HBASE-17168
>                 URL: https://issues.apache.org/jira/browse/HBASE-17168
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client, scan
>            Reporter: Duo Zhang
>            Priority: Major
>             Fix For: 3.0.0
>
>
> Mainly for restart a scan when error. For now, the logic for reverse scan is not stable.
You can see the ConnectionUtils.createClosestRowBefore. we just append some 0xFF to the end
of a key. This works for most time but theoretically we could have a row between the given
row and the 'closest row before'.
> So here I propose we use a cell as the start point of a scan internally as we can use
createFirstOnRow or createLastOnRow to bettr control the restart point.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message