hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jurriaan Mous (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-12761) On region jump ClientScanners should get next row start key instead of a skip.
Date Sun, 28 Dec 2014 12:56:13 GMT

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

Jurriaan Mous updated HBASE-12761:
----------------------------------
    Attachment: HBASE-12761-v1.patch

It seems that ScannerCallableWithReplicas reinvents its own scan progression code. It seems
it can be done cleaner but I didn't want to mess in that code.

The new patch solves it in both places and fixes duplication on a reversed scan.

> On region jump ClientScanners should get next row start key instead of a skip.
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-12761
>                 URL: https://issues.apache.org/jira/browse/HBASE-12761
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jurriaan Mous
>            Assignee: Jurriaan Mous
>         Attachments: HBASE-12761-v1.patch, HBASE-12761.patch
>
>
> While working on async scanner I had some trouble with the extra RPC calls that happen
to let the Scanner advance 1 row so it skips the last already known row. 
> This RPC call can be avoided by letting the start key be the last row with an appended
0. This saves quite some logic from the scanners and improves performance by saving extra
RPC calls.



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

Mime
View raw message