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 88691200AF5 for ; Thu, 2 Jun 2016 22:47:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 85482160A51; Thu, 2 Jun 2016 20:47:15 +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 CE200160A3E for ; Thu, 2 Jun 2016 22:47:14 +0200 (CEST) Received: (qmail 33066 invoked by uid 500); 2 Jun 2016 20:47:14 -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 33056 invoked by uid 99); 2 Jun 2016 20:47:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2016 20:47:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9ED6F1A09E1 for ; Thu, 2 Jun 2016 20:47:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 5njSb8YBe9tV for ; Thu, 2 Jun 2016 20:47:10 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E92625F39A for ; Thu, 2 Jun 2016 20:47:09 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id 1BDB4295681B for ; Thu, 2 Jun 2016 13:28:54 -0700 (PDT) Date: Thu, 2 Jun 2016 13:31:37 -0700 (PDT) From: bintisepaha To: user@ignite.apache.org Message-ID: <1464899497196-5386.post@n6.nabble.com> Subject: Cache.put delays MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 02 Jun 2016 20:47:15 -0000 We are using ignite 1.5.0-final version. While testing on a single server node we see this behavior with cache.put(). We know we have just loaded an object in the cache from the DB Store, as soon as that is put in the cache, the writebehind is also kicked off. But right after loading it when we do a cache.get for the same key the object returned is null. I was debugging this code and I had a breakpoint after cache.get() line and a few seconds later when I inspected the same cache.get() call, I saw the object being returned correctly in the eclipse variable window. As soon as I wrap the loading of this object from the DB store in a transaction, I don't see this issue at all. We do that we are invoking load sequentially for each object and the object is not loaded twice. SO don't see a locking issue. Is this the same as issue described here? https://issues.apache.org/jira/browse/IGNITE-2407?jql=project%20%3D%20IGNITE%20AND%20fixVersion%20%3D%201.6%20ORDER%20BY%20updated%20DESC%2C%20priority%20DESC%2C%20created%20ASC However, its important to note that we see this issue with a single server node, so not sure why partitioned caches might be an issue here. We are seeing more issues with cache.put and get. the behavior is random but the results are as if all puts are not seen by gets. Any help is appreciated. Thanks, Binti -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Cache-put-delays-tp5386.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.