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 21A1F200C54 for ; Wed, 12 Apr 2017 22:47:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 201F5160B85; Wed, 12 Apr 2017 20:47:46 +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 68FB5160B95 for ; Wed, 12 Apr 2017 22:47:45 +0200 (CEST) Received: (qmail 97161 invoked by uid 500); 12 Apr 2017 20:47:44 -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 97148 invoked by uid 99); 12 Apr 2017 20:47:44 -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, 12 Apr 2017 20:47:44 +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 1702E1813CC for ; Wed, 12 Apr 2017 20:47:44 +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-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id vEdJMs4fgx8V for ; Wed, 12 Apr 2017 20:47:43 +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 9BD195F65C for ; Wed, 12 Apr 2017 20:47:42 +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 E39EFE0026 for ; Wed, 12 Apr 2017 20:47:41 +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 A0E7524067 for ; Wed, 12 Apr 2017 20:47:41 +0000 (UTC) Date: Wed, 12 Apr 2017 20:47:41 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-2768) Lucene Queries executed before index is fully created should be retried MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 12 Apr 2017 20:47:46 -0000 [ https://issues.apache.org/jira/browse/GEODE-2768?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1596= 6585#comment-15966585 ]=20 ASF GitHub Bot commented on GEODE-2768: --------------------------------------- GitHub user jhuynh1 opened a pull request: https://github.com/apache/geode/pull/451 GEODE-2768: Lucene Queries executed before index is fully created sho= =E2=80=A6 =E2=80=A6uld be retried =20 * Added a sleep to prevent rapid retries which lead to stack overflow * Sleep can be removed when Function Execution retry does not add to = stack You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/geode feature/GEODE-2768 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/geode/pull/451.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #451 =20 ---- commit 60f5f06f18f8ea6c1d176a43a25bfbb4086e2f21 Author: Jason Huynh Date: 2017-04-12T18:39:28Z GEODE-2768: Lucene Queries executed before index is fully created shoul= d be retried =20 * Added a sleep to prevent rapid retries which lead to stack overflow * Sleep can be removed when Function Execution retry does not add to = stack ---- > Lucene Queries executed before index is fully created should be retried > ----------------------------------------------------------------------- > > Key: GEODE-2768 > URL: https://issues.apache.org/jira/browse/GEODE-2768 > Project: Geode > Issue Type: Bug > Components: lucene > Reporter: Jason Huynh > Assignee: Jason Huynh > > With the feature to destroy a Lucene Index, parts of the querying functio= n were changed to handle the event where we execute a query on an index tha= t is no longer present. However, the scenario where we execute a query on = an index that is defined but has not been created can also arise.=20 > We want to handle the case where we have defined the index, but have yet = to create it due to a brief window in restart. =20 -- This message was sent by Atlassian JIRA (v6.3.15#6346)