From dev-return-58992-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Thu Dec 12 13:16: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 5F76D18067C for ; Thu, 12 Dec 2019 14:16:02 +0100 (CET) Received: (qmail 36363 invoked by uid 500); 12 Dec 2019 13:16: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 36261 invoked by uid 99); 12 Dec 2019 13:16: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 13:16: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 B006BE00CD for ; Thu, 12 Dec 2019 13:16: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 2FF0778027D for ; Thu, 12 Dec 2019 13:16:00 +0000 (UTC) Date: Thu, 12 Dec 2019 13:16:00 +0000 (UTC) From: "Kadir OZDEMIR (Jira)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (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 [ https://issues.apache.org/jira/browse/PHOENIX-5615?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kadir OZDEMIR reassigned PHOENIX-5615: -------------------------------------- Attachment: PHOENIX-5615.master.001.patch Assignee: Kadir OZDEMIR > Index read repair should delete all the cells of an invalid unverified ro= w > -------------------------------------------------------------------------= - > > 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 > Assignee: Kadir OZDEMIR > Priority: Critical > Attachments: PHOENIX-5615.master.001.patch > > Time Spent: 10m > Remaining Estimate: 0h > > In the current implementation, the index read repair deletes only the cel= ls that are returned by the scan initiated by the Phoenix client instead of= deleting all the cells of an invalid unverified row. > The read repair deletes cells (i.e., a specific version of a row) only wh= en if an index row is overwritten but the corresponding data table row over= write fails. This leaves the the index row in the unverified status. Then t= he read repair detects this unverified row when it is scanned and needs to = delete the cells of this unverified version of the row. However, the read r= epair (i.e., GlobalIndexChecker) puts the delete markers for only the cells= returned 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= cells 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)