Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 60763200BDC for ; Tue, 29 Nov 2016 10:20:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5F113160B05; Tue, 29 Nov 2016 09:20:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CD336160B15 for ; Tue, 29 Nov 2016 10:19:59 +0100 (CET) Received: (qmail 45370 invoked by uid 500); 29 Nov 2016 09:19:59 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 45345 invoked by uid 99); 29 Nov 2016 09:19:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2016 09:19:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B40592C03E8 for ; Tue, 29 Nov 2016 09:19:58 +0000 (UTC) Date: Tue, 29 Nov 2016 09:19:58 +0000 (UTC) From: "Duo Zhang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-17167) Pass mvcc to client when scan MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 29 Nov 2016 09:20:00 -0000 [ 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-v5.patch Use scan.resetMvccReadPoint() instead of scan.setMvccReadPoint(0). > 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-branch-1.patch, HBASE-17167-v1.patch, HBASE-17167-v2.patch, HBASE-17167-v3.patch, HBASE-17167-v4.patch, HBASE-17167-v5.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)