From dev-return-48547-archive-asf-public=cust-asf.ponee.io@phoenix.apache.org Wed Jan 17 01:05:05 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 002E718065B for ; Wed, 17 Jan 2018 01:05:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E4123160C47; Wed, 17 Jan 2018 00:05:04 +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 364D1160C34 for ; Wed, 17 Jan 2018 01:05:04 +0100 (CET) Received: (qmail 92862 invoked by uid 500); 17 Jan 2018 00:05:03 -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 92851 invoked by uid 99); 17 Jan 2018 00:05:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2018 00:05:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D12811A3217 for ; Wed, 17 Jan 2018 00:05:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.711 X-Spam-Level: X-Spam-Status: No, score=-100.711 tagged_above=-999 required=6.31 tests=[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-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 6PNCwIHCt9ei for ; Wed, 17 Jan 2018 00:05:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5F5475F3CD for ; Wed, 17 Jan 2018 00:05:01 +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 9D58FE0C18 for ; Wed, 17 Jan 2018 00:05:00 +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 56D41212FE for ; Wed, 17 Jan 2018 00:05:00 +0000 (UTC) Date: Wed, 17 Jan 2018 00:05:00 +0000 (UTC) From: "Vincent Poon (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Vincent Poon created PHOENIX-4531: ------------------------------------- Summary: Delete on a table with a global mutable index can iss= ue client-side deletes 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 ind= ex 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 se= rver side when we process the delete of the data table row 2) Deletes issued from the client-side won't have the index failure policy Reporter: Vincent Poon Assignee: Vincent Poon -- This message was sent by Atlassian JIRA (v7.6.3#76005)