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] [Commented] (HBASE-17167) Pass mvcc to client when scan
Date Sat, 26 Nov 2016 14:56:59 GMT

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

Duo Zhang commented on HBASE-17167:
-----------------------------------

Oh no, we use the scan object to pass scan metrics so we will break this feature if we clone
the scan object before we changing its fields...

Why not use ResultScanner to expose the metrics?

Thanks.

> Pass mvcc to client when scan
> -----------------------------
>
>                 Key: HBASE-17167
>                 URL: https://issues.apache.org/jira/browse/HBASE-17167
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client, scan
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-17167-v1.patch, HBASE-17167.patch
>
>
> For the current implementation, if we use batch or allowPartial when scan, then the row
level atomic can not be guaranteed if we need to restart a scan in the middle of a record
due to region move or something else.
> We can return the mvcc used to open scanner to client and client could use this mvcc
to restart a scan to get row level atomic.



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

Mime
View raw message