Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9B5151893A for ; Mon, 9 Nov 2015 09:11:11 +0000 (UTC) Received: (qmail 29113 invoked by uid 500); 9 Nov 2015 09:11:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 29014 invoked by uid 500); 9 Nov 2015 09:11:11 -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 28925 invoked by uid 99); 9 Nov 2015 09:11:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2015 09:11:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 15DFF2C1F6D for ; Mon, 9 Nov 2015 09:11:11 +0000 (UTC) Date: Mon, 9 Nov 2015 09:11:11 +0000 (UTC) From: "Lars Francke (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HBASE-14491) ReplicationSource#countDistinctRowKeys code logic is not correct MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Francke reassigned HBASE-14491: ------------------------------------ Assignee: Enis Soztutar > ReplicationSource#countDistinctRowKeys code logic is not correct > ---------------------------------------------------------------- > > Key: HBASE-14491 > URL: https://issues.apache.org/jira/browse/HBASE-14491 > Project: HBase > Issue Type: Bug > Reporter: Ashish Singhi > Assignee: Enis Soztutar > Priority: Minor > Fix For: 2.0.0, 1.2.0, 1.3.0, 1.0.3, 1.1.3, 0.98.16 > > > {code} > Cell lastCell = cells.get(0); > for (int i = 0; i < edit.size(); i++) { > if (!CellUtil.matchingRow(cells.get(i), lastCell)) { > distinctRowKeys++; > } > } > {code} > The above logic for finding the distinct row keys in the list needs to be corrected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)