From user-return-17805-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Feb 14 17:14:51 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7C8B0180621 for ; Wed, 14 Feb 2018 17:14:50 +0100 (CET) Received: (qmail 11741 invoked by uid 500); 14 Feb 2018 16:14:49 -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 11731 invoked by uid 99); 14 Feb 2018 16:14:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2018 16:14:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BD748C0A3E for ; Wed, 14 Feb 2018 16:14:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.172 X-Spam-Level: ** X-Spam-Status: No, score=2.172 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2hKhCTRXv0pQ for ; Wed, 14 Feb 2018 16:14:44 +0000 (UTC) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 914355F187 for ; Wed, 14 Feb 2018 16:14:43 +0000 (UTC) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id C15A047F8703 for ; Wed, 14 Feb 2018 09:14:36 -0700 (MST) Date: Wed, 14 Feb 2018 09:14:36 -0700 (MST) From: Mikhail To: user@ignite.apache.org Message-ID: <1518624876789-0.post@n6.nabble.com> In-Reply-To: <18de91bcb218a9630c371470800caa3f@mail.gmail.com> References: <18de91bcb218a9630c371470800caa3f@mail.gmail.com> Subject: Re: Write ahead log and early eviction of new elements MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Raymond, >I understand when I add an element to a cache that element is serialized, >placed into the local memory for the cache on that server and then placed >into the WAL pending checkpointing (merging into the persistence store). First, the update will be written into WAL and only then into local memory. >What happens if the newly added element is evicted and > then re-read from the cache by the client before the next checkpoint > occurs? What do you mean by "evicted"? Ignite evicts memory pages to a disk if there's not enough space to save new record or it needs to load a page from disk and for this purpose, it will evict some page from memory. But it will evict the only page that is already saved to the disk. Thanks, Mike. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/