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 09EB8200C0E for ; Wed, 1 Feb 2017 21:16:12 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 085D6160B46; Wed, 1 Feb 2017 20:16:12 +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 52618160B41 for ; Wed, 1 Feb 2017 21:16:11 +0100 (CET) Received: (qmail 39624 invoked by uid 500); 1 Feb 2017 20:16:10 -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 39609 invoked by uid 99); 1 Feb 2017 20:16:10 -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, 01 Feb 2017 20:16:10 +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 208BA186157 for ; Wed, 1 Feb 2017 20:16:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] 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 fzNgmL9OPjP0 for ; Wed, 1 Feb 2017 20:16:09 +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 1F10B5F30D for ; Wed, 1 Feb 2017 20:16:09 +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 E00F4E026F for ; Wed, 1 Feb 2017 20:15:51 +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 980212528A for ; Wed, 1 Feb 2017 20:15:51 +0000 (UTC) Date: Wed, 1 Feb 2017 20:15:51 +0000 (UTC) From: "nabarun (JIRA)" To: dev@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (GEODE-2410) afterPrimary and afterSecondary event listeners pass through the same critical section MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Feb 2017 20:16:12 -0000 [ https://issues.apache.org/jira/browse/GEODE-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] nabarun updated GEODE-2410: --------------------------- Description: * afterPrimary and afterSecondary listeners will call the same critical section. * They will acquire a Dlock on the bucket and create the index if primary. * If they are secondary it will close the writer and release the Dlock. * The primary will reattempt to acquire the lock after 5seconds and continue to loop as long as it is still primary. was: * afterPrimary and afterSecondary listeners will call the same critical section. * They will acquire a Dlock on the bucket and create the index if primary. * If they are secondary it will close the writer and release the Dlock. * The primary will reattempt to acquire the lock after 54 seconds and continue to loop as long as it is still primary. > afterPrimary and afterSecondary event listeners pass through the same critical section > -------------------------------------------------------------------------------------- > > Key: GEODE-2410 > URL: https://issues.apache.org/jira/browse/GEODE-2410 > Project: Geode > Issue Type: Bug > Components: lucene > Reporter: nabarun > > * afterPrimary and afterSecondary listeners will call the same critical section. > * They will acquire a Dlock on the bucket and create the index if primary. > * If they are secondary it will close the writer and release the Dlock. > * The primary will reattempt to acquire the lock after 5seconds and continue to loop as long as it is still primary. -- This message was sent by Atlassian JIRA (v6.3.15#6346)