From dev-return-48553-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Wed Jan 17 01:33:10 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id B0C1A18065B for ; Wed, 17 Jan 2018 01:33:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A09CA160C47; Wed, 17 Jan 2018 00:33:10 +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 E65A0160C34 for ; Wed, 17 Jan 2018 01:33:09 +0100 (CET) Received: (qmail 46298 invoked by uid 500); 17 Jan 2018 00:33:09 -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 46287 invoked by uid 99); 17 Jan 2018 00:33:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2018 00:33:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8EDF1CFB83 for ; Wed, 17 Jan 2018 00:33:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2dUEiWyxvo9n for ; Wed, 17 Jan 2018 00:33:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2D8425FB2E for ; Wed, 17 Jan 2018 00:33:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 87530E01A7 for ; Wed, 17 Jan 2018 00:33:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id F2ADB21303 for ; Wed, 17 Jan 2018 00:33:03 +0000 (UTC) Date: Wed, 17 Jan 2018 00:33:03 +0000 (UTC) From: "James Taylor (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-4531) Delete on a table with a global mutable index can issue client-side deletes against the index 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-4531?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 328060#comment-16328060 ]=20 James Taylor commented on PHOENIX-4531: --------------------------------------- Is this specifically when an index is getting partially rebuilt after a wri= te failure occurs? Or is it something more general? > Delete on a table with a global mutable index can issue client-side delet= es against the index > -------------------------------------------------------------------------= -------------------- > > Key: PHOENIX-4531 > URL: https://issues.apache.org/jira/browse/PHOENIX-4531 > Project: Phoenix > Issue Type: Bug > Affects Versions: 4.13.0 > Environment: For a table with a global mutable index, I found the= following result in client-side deletes against both the data table and in= dex table. > "DELETE FROM data_table"=C2=A0 > "DELETE FROM data_table WHERE indexed_col=3D'v'" > We only need the delete to be issued against the data table, because > 1) It's redundant since a delete against the index will be issued on the = server side when we process the delete of the data table row > 2) Deletes issued from the client-side won't have the index failure polic= y > Reporter: Vincent Poon > Assignee: Vincent Poon > Priority: Major > Attachments: PartialIndexRebuilderIT.java > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)