From dev-return-58135-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Mon Sep 16 21:12: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 5A1A9180652 for ; Mon, 16 Sep 2019 23:12:02 +0200 (CEST) Received: (qmail 14599 invoked by uid 500); 16 Sep 2019 21:12: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 14565 invoked by uid 99); 16 Sep 2019 21:12: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; Mon, 16 Sep 2019 21:12: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 AC456E300C for ; Mon, 16 Sep 2019 21:12: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 22E2E780076 for ; Mon, 16 Sep 2019 21:12:00 +0000 (UTC) Date: Mon, 16 Sep 2019 21:12:00 +0000 (UTC) From: "Kadir OZDEMIR (Jira)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PHOENIX-5373) GlobalIndexChecker should treat the rows created by the previous design as unverified 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-5373?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kadir OZDEMIR updated PHOENIX-5373: ----------------------------------- Attachment: (was: PHOENIX-5473.4.14-HBase-1.3.addendum.patch) > GlobalIndexChecker should treat the rows created by the previous design a= s unverified=20 > -------------------------------------------------------------------------= ------------- > > Key: PHOENIX-5373 > URL: https://issues.apache.org/jira/browse/PHOENIX-5373 > Project: Phoenix > Issue Type: Bug > Affects Versions: 5.0.0, 4.14.2 > Reporter: Kadir OZDEMIR > Assignee: Kadir OZDEMIR > Priority: Major > Fix For: 4.15.0, 5.1.0 > > Attachments: PHOENIX-5373.4.x-HBase-1.4.001.patch, PHOENIX-5373.4= .x-HBase-1.4.002.patch, PHOENIX-5373.master.001.patch, PHOENIX-5373.master.= 002.patch > > Time Spent: 1h 50m > Remaining Estimate: 0h > > For the ease of transition from the old global secondary index design to = the new one (without having read performance impact), GlobalIndexChecker tr= eats existing index rows (i.e., the rows created by the previous design) as= verified. We have discovered that this would lead to keeping stale index r= ows around forever and including them in the result of queries. A stale ind= ex row is a row for which we do not have the corresponding data table row. = The reason that we do not have the data table row is either the row is dele= ted (but not the corresponding index row(s)), or the data table and index r= ows are written with different timestamps. The assumption was that such row= s would be fixed by index rebuild. Unfortunately, without dropping or trunc= ating index tables, these stale rows=C2=A0may not=C2=A0be fixed by index re= build. Thus, GlobalIndexChecker should treat the rows created by the previo= us design as unverified. -- This message was sent by Atlassian Jira (v8.3.2#803003)