From dev-return-58991-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Thu Dec 12 12:03:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 66D6E18067C for ; Thu, 12 Dec 2019 13:03:02 +0100 (CET) Received: (qmail 59756 invoked by uid 500); 12 Dec 2019 12:03:01 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 59743 invoked by uid 99); 12 Dec 2019 12:03:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Dec 2019 12:03:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D64D0E0239 for ; Thu, 12 Dec 2019 12:03:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 3753B780376 for ; Thu, 12 Dec 2019 12:03:00 +0000 (UTC) Date: Thu, 12 Dec 2019 12:03:00 +0000 (UTC) From: "Kadir OZDEMIR (Jira)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (PHOENIX-5615) Index read repair should delete all the cells of an invalid unverified row MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Kadir OZDEMIR created PHOENIX-5615: -------------------------------------- Summary: Index read repair should delete all the cells of an i= nvalid unverified row Key: PHOENIX-5615 URL: https://issues.apache.org/jira/browse/PHOENIX-5615 Project: Phoenix Issue Type: Bug Affects Versions: 4.14.3, 5.0.0 Reporter: Kadir OZDEMIR In the current implementation, the index read repair deletes only the cells= that are returned by the scan initiated by the Phoenix client instead of d= eleting all the cells of an invalid unverified row. The read repair deletes cells (i.e., a specific version of a row) only when= if an index row is overwritten but the corresponding data table row overwr= ite fails. This leaves the the index row in the unverified status. Then the= read repair detects this unverified row when it is scanned and needs to de= lete the cells of this unverified version of the row. However, the read rep= air (i.e., GlobalIndexChecker) puts the delete markers for only the cells r= eturned by the scan. If the scan does not return all the cells of the row, = then only a subset of the cells of the row will be deleted. The remaining c= ells will not be removed and can be returned by the scans initiated later.= =C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)