Return-Path: X-Original-To: apmail-asterixdb-notifications-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0400C17832 for ; Fri, 25 Sep 2015 03:14:14 +0000 (UTC) Received: (qmail 18367 invoked by uid 500); 25 Sep 2015 03:14:13 -0000 Delivered-To: apmail-asterixdb-notifications-archive@asterixdb.apache.org Received: (qmail 18342 invoked by uid 500); 25 Sep 2015 03:14:13 -0000 Mailing-List: contact notifications-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list notifications@asterixdb.incubator.apache.org Received: (qmail 18333 invoked by uid 99); 25 Sep 2015 03:14:13 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2015 03:14:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4DBFC181123 for ; Fri, 25 Sep 2015 03:14:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.794 X-Spam-Level: X-Spam-Status: No, score=0.794 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.006] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id C1o4XB39FRAU for ; Fri, 25 Sep 2015 03:13:58 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id 00ED6439CA for ; Fri, 25 Sep 2015 03:13:04 +0000 (UTC) Received: (qmail 17486 invoked by uid 99); 25 Sep 2015 03:13:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Sep 2015 03:13:04 +0000 Date: Fri, 25 Sep 2015 03:13:04 +0000 (UTC) From: "Michael J. Carey (JIRA)" To: notifications@asterixdb.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ASTERIXDB-1109) Index entries are not deleted on an open-type secondary index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ASTERIXDB-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907485#comment-14907485 ] Michael J. Carey commented on ASTERIXDB-1109: --------------------------------------------- Nice! > Index entries are not deleted on an open-type secondary index > ------------------------------------------------------------- > > Key: ASTERIXDB-1109 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1109 > Project: Apache AsterixDB > Issue Type: Bug > Reporter: Taewoo Kim > Assignee: Taewoo Kim > Priority: Critical > > Currently, index entries (SK, PK) are not deleted on an open-type secondary index. This issue was not surfaced due to the fact that every search after a secondary index search needs to go through the primary index lookup. Therefore, un-deleted entries were removed during this Pidx lookup. > Now, we have an index-only plan that can skip the Pidx lookup after a Sidx search. Therefore, the query result is not correct anymore. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)