Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A54F917904 for ; Wed, 23 Sep 2015 19:54:09 +0000 (UTC) Received: (qmail 62981 invoked by uid 500); 23 Sep 2015 19:54:04 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 62800 invoked by uid 500); 23 Sep 2015 19:54:04 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 62680 invoked by uid 99); 23 Sep 2015 19:54:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2015 19:54:04 +0000 Date: Wed, 23 Sep 2015 19:54:04 +0000 (UTC) From: "Sergey Kozlov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-1535) Evicted entries still are presented MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Kozlov updated IGNITE-1535: ---------------------------------- Attachment: CacheFifoEvictExample.java grid_evict.xml > Evicted entries still are presented > ------------------------------------ > > Key: IGNITE-1535 > URL: https://issues.apache.org/jira/browse/IGNITE-1535 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: ignite-1.4 > Reporter: Sergey Kozlov > Assignee: Yakov Zhdanov > Fix For: ignite-1.5 > > Attachments: CacheFifoEvictExample.java, grid_evict.xml > > > Test creates 4 caches: 2 PARTITIONED for testing and 2 REPLICATED for comparison. Each cache has FIFO eviction policy with maxSize=750. > Test puts 1000 entries (order: 1 ... 1000) and check that 1..250 entries are removed and 251..1000 presented in cache. > 1. Copy grid_evict.xml in examples/config directory > 2. Copy CacheFifoEvictExample in examples/src/main/java/org/apache/ignite/examples/datagrid > 3. Build examples > 4. Run 3 nodes bin/ignite.sh examples/config/grid_evict.xml > 5. Run CacheFifoEvictExample > Expected output: > {noformat} > >>>cache_1 > put keys 1..1000 > get keys 1..1000 > >>>cache_2 > put keys 1..1000 > get keys 1..1000 > {noformat} > Bur for PARTITIONED caches I got > {noformat} > >>>cache_1 > put keys 1..1000 > get keys 1..1000 > >>> not null value found for 18 > >>> not null value found for 19 > >>> not null value found for 20 > >>> not null value found for 21 > >>> not null value found for 22 > >>> not null value found for 23 > >>> not null value found for 24 > >>> not null value found for 25 > >>> not null value found for 28 > ... > >>>cache_2 > put keys 1..1000 > get keys 1..1000 > >>> not null value found for 1 > >>> not null value found for 3 > >>> not null value found for 6 > >>> not null value found for 10 > >>> not null value found for 18 > >>> not null value found for 19 > >>> not null value found for 20 > >>> not null value found for 21 > >>> not null value found for 22 > >>> not null value found for 23 > >>> not null value found for 24 > >>> not null value found for 25 > ... > {noformat} > Delay between puts and gets doesn't fix the issue but add null values for keys > 250 -- This message was sent by Atlassian JIRA (v6.3.4#6332)