From dev-return-52462-apmail-phoenix-dev-archive=phoenix.apache.org@phoenix.apache.org Tue Jun 12 22:43:02 2018 Return-Path: X-Original-To: apmail-phoenix-dev-archive@minotaur.apache.org Delivered-To: apmail-phoenix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52A4C18D77 for ; Tue, 12 Jun 2018 22:43:02 +0000 (UTC) Received: (qmail 30971 invoked by uid 500); 12 Jun 2018 22:43:02 -0000 Delivered-To: apmail-phoenix-dev-archive@phoenix.apache.org Received: (qmail 30907 invoked by uid 500); 12 Jun 2018 22:43:02 -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 30893 invoked by uid 99); 12 Jun 2018 22:43:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2018 22:43:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B6E35C0329 for ; Tue, 12 Jun 2018 22:43:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id AYczeAe22wTl for ; Tue, 12 Jun 2018 22:43:01 +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 C53FE5F341 for ; Tue, 12 Jun 2018 22:43:00 +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 58858E066E for ; Tue, 12 Jun 2018 22:43: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 0F51421098 for ; Tue, 12 Jun 2018 22:43:00 +0000 (UTC) Date: Tue, 12 Jun 2018 22:43:00 +0000 (UTC) From: "Thomas D'Silva (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (PHOENIX-4195) PHOENIX-4195 Deleting view rows with extended PKs through the base table silently fails 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-4195?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 510336#comment-16510336 ]=20 Thomas D'Silva commented on PHOENIX-4195: ----------------------------------------- I think we have to disable all mutations using a global connection to any t= able that has child views.=C2=A0 The tenant or global connection would have to create the view first and the= n create the view index. Once the view is created whenever the base table i= s resolved (by making a call to the server) to fetch the latest metadata th= e basetable PTable=C2=A0would have the=C2=A0hasChildViews flag set to true.= =C2=A0 Index creation should be able to handle any in-progress mutations queued on= the region because we run a second index population catch up query. See=C2= =A0PHOENIX-2582 on details of how to improve this.=C2=A0 We need the=C2=A0hasChildViews to prevent issues while creating global view= s on non multi-tenant tables.=C2=A0 > PHOENIX-4195 Deleting view rows with extended PKs through the base table = silently fails > -------------------------------------------------------------------------= -------------- > > Key: PHOENIX-4195 > URL: https://issues.apache.org/jira/browse/PHOENIX-4195 > Project: Phoenix > Issue Type: Bug > Reporter: Thomas D'Silva > Assignee: Geoffrey Jacoby > Priority: Major > Attachments: test.diff > > > The attached test fails. -- This message was sent by Atlassian JIRA (v7.6.3#76005)