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 2DD6F200B48 for ; Mon, 18 Jul 2016 09:39:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2C589160A6D; Mon, 18 Jul 2016 07:39:28 +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 750AC160A65 for ; Mon, 18 Jul 2016 09:39:27 +0200 (CEST) Received: (qmail 72693 invoked by uid 500); 18 Jul 2016 07:39:26 -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 72683 invoked by uid 99); 18 Jul 2016 07:39:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2016 07:39:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3D73EC000A for ; Mon, 18 Jul 2016 07:39:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.173 X-Spam-Level: ** X-Spam-Status: No, score=2.173 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, 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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id H9vzvDeydDcS for ; Mon, 18 Jul 2016 07:39:24 +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 8A8005F39D for ; Mon, 18 Jul 2016 07:39:23 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id 29AE52CACD73 for ; Mon, 18 Jul 2016 00:16:12 -0700 (PDT) Date: Mon, 18 Jul 2016 00:22:18 -0700 (PDT) From: zshamrock To: user@ignite.apache.org Message-ID: <1468826538283-6338.post@n6.nabble.com> In-Reply-To: <1468826090988-6337.post@n6.nabble.com> References: <1468767786314-6334.post@n6.nabble.com> <1468826090988-6337.post@n6.nabble.com> Subject: Re: Removing or overwriting cache value, but still able to get it from the cache MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Mon, 18 Jul 2016 07:39:28 -0000 So, we have a REST endpoint which we can call with session id to stop a session. Which in result clear the cache. Which shows in Visor it works (cache is empty now). So, regards cache store (and read through) my expectations were: - because the cache is empty now - the next call to get() will read the value from the database - and it will be the latest I have there But, what I see - `get(sensorId)` still returns the previous session id (the one created before the current one), and which as I've mentioned before, even no longer in the database (as we overwrite the session id association with sensor id, every time we start a new session). Could it be because of the near cache? Also if it helps, Ignite is running as standalone process, application is running from Docker (with network mode = host, so sharing the network with the host system). Running on AWS EC2. Thank you. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Removing-or-overwriting-cache-value-but-still-able-to-get-it-from-the-cache-tp6334p6338.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.