Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F0D12200C8E for ; Wed, 24 May 2017 20:39:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EF786160BB6; Wed, 24 May 2017 18:39:08 +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 4AD17160BD0 for ; Wed, 24 May 2017 20:39:08 +0200 (CEST) Received: (qmail 42681 invoked by uid 500); 24 May 2017 18:39:07 -0000 Mailing-List: contact dev-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list dev@geode.apache.org Received: (qmail 42459 invoked by uid 99); 24 May 2017 18:39:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2017 18:39:07 +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 CE1B2190DA3 for ; Wed, 24 May 2017 18:39:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 0_FS2dsTOQay for ; Wed, 24 May 2017 18:39:06 +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 B57F65FDD2 for ; Wed, 24 May 2017 18:39:05 +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 2C960E0D77 for ; Wed, 24 May 2017 18:39: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 53FA621B5E for ; Wed, 24 May 2017 18:39:04 +0000 (UTC) Date: Wed, 24 May 2017 18:39:04 +0000 (UTC) From: "Barry Oglesby (JIRA)" To: dev@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (GEODE-2958) create replicate region with lucene index may restore destroyed defined lucene index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 24 May 2017 18:39:09 -0000 [ https://issues.apache.org/jira/browse/GEODE-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Barry Oglesby resolved GEODE-2958. ---------------------------------- Resolution: Fixed > create replicate region with lucene index may restore destroyed defined lucene index > ------------------------------------------------------------------------------------- > > Key: GEODE-2958 > URL: https://issues.apache.org/jira/browse/GEODE-2958 > Project: Geode > Issue Type: Bug > Components: lucene > Reporter: Jason Huynh > Fix For: 1.2.0 > > > Executing the below commands in gfsh will result in the destroyed index being created. It appears that the combination of destroying the lucene index while specifying the region name and index name, along with attempting to create a replicate region can cause the destroyed index to be restored and created when a partition region with the same name finally is created. > create lucene index --name="GHOST_INDEX" --region="test" --field=name > list lucene indexes > destroy lucene index --region=test --name="GHOST_INDEX" > create lucene index --name="LUCENE_INDEX" --region="test" --field=name > create region --name=test --type=REPLICATE > create region --name=test --type=PARTITION > list lucene indexes > If the --name parameter of the index was not supplied on the destroy, then things work fine. -- This message was sent by Atlassian JIRA (v6.3.15#6346)