Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B10A918492 for ; Fri, 19 Feb 2016 10:04:02 +0000 (UTC) Received: (qmail 76236 invoked by uid 500); 19 Feb 2016 10:03:28 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 76194 invoked by uid 500); 19 Feb 2016 10:03:28 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 76183 invoked by uid 99); 19 Feb 2016 10:03:28 -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; Fri, 19 Feb 2016 10:03:28 +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 E4A1518051D for ; Fri, 19 Feb 2016 10:03:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.972 X-Spam-Level: X-Spam-Status: No, score=0.972 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] 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 8UsAbyPcI2Ko for ; Fri, 19 Feb 2016 10:03:27 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 707025F1E7 for ; Fri, 19 Feb 2016 10:03:26 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id 786322114C04 for ; Fri, 19 Feb 2016 01:56:34 -0800 (PST) Date: Fri, 19 Feb 2016 01:51:26 -0800 (PST) From: nyname00 To: user@ignite.apache.org Message-ID: <1455875486685-3097.post@n6.nabble.com> In-Reply-To: <1455825768951-3088.post@n6.nabble.com> References: <1455631032202-3031.post@n6.nabble.com> <1455644007598-3034.post@n6.nabble.com> <1455739471574-3061.post@n6.nabble.com> <1455790769527-3079.post@n6.nabble.com> <1455825768951-3088.post@n6.nabble.com> Subject: Re: Semaphore blocking on tryAcquire() while holding a cache-lock MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks Val, I just thought the "failoverSafe" flag on semaphore creation would take care of this. Tested it again with REPLICATED mode, and it works like a charm. With default mode and 2 backups configured, i get a "ClusterTopologyCheckedException: Failed to acquire lock for keys (primary node left grid, retry transaction if possible)" on both remaining nodes, but one of them manages to acquire the semaphore. So I guess that's ok. Thanks again to all of you guys helping me out. Mario -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Semaphore-blocking-on-tryAcquire-while-holding-a-cache-lock-tp3031p3097.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.