[
https://issues.apache.org/jira/browse/HBASE-17167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-17167:
------------------------------
Attachment: HBASE-17167-v1.patch
The failing is because we change the mvcc read point of the scan object passed
in directly. I do not think it is a good idea to modify the parameter of a read
API. So I removed the comment
{code}
- * Note that the passed {@link Scan}'s start row and caching properties
- * maybe changed.
{code}
And cloned the scan object in the v1 patch.
> 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)