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 C1BA9200C52 for ; Mon, 10 Apr 2017 16:45:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BED8F160B99; Mon, 10 Apr 2017 14:45:25 +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 0EACB160B85 for ; Mon, 10 Apr 2017 16:45:24 +0200 (CEST) Received: (qmail 98346 invoked by uid 500); 10 Apr 2017 14:45:24 -0000 Mailing-List: contact dev-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 dev@ignite.apache.org Received: (qmail 98334 invoked by uid 99); 10 Apr 2017 14:45:23 -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, 10 Apr 2017 14:45:23 +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 897A0C1444 for ; Mon, 10 Apr 2017 14:45:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.879 X-Spam-Level: *** X-Spam-Status: No, score=3.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Q54J97ZliN8A for ; Mon, 10 Apr 2017 14:45:22 +0000 (UTC) Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 7F6725FB5B for ; Mon, 10 Apr 2017 14:45:22 +0000 (UTC) Received: by mail-qt0-f170.google.com with SMTP id v3so57548768qtd.3 for ; Mon, 10 Apr 2017 07:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=z2Efsez4dhau6KpRI1VeSoHWjDiCqVbAZUygqnVM3Ts=; b=pr61en/HmopdcNEXOV74sUFdfvk+gciw0CXpmLhARreuY/ieqv4ENYpUrs+ooRr6s9 NbWn8XQvw5/CF8myEBgbiwRZf4lCDiXgZdEDvYXBFLd6SWPB1jgGpAt7/9qMgFluLCnw MmAkc7O1qD91k2/yca3BT2r477B0s9JESSefYMS2qFnHZGwSk7YuiPq8OPjM2n3/j4r7 32fprM6ZVS8A3TWHmRaCDBoX1tAsl3xWqJjkRNo8qtKztr/vSC3sIDHoL0+IzeWTCRmV 4F0HqDtceRb9xZBETyD4nd5lm4AYvMeunJm30yNk6bA4VmMqpCkAxyuqPPdf5MBD+mrS wSGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=z2Efsez4dhau6KpRI1VeSoHWjDiCqVbAZUygqnVM3Ts=; b=VXR34vmz1B0kac3b+MrAsbBw+o0d+wbkDYOT7byEA8wIIrAE+2DXukhjYn/HLv63Ec edvtyAFrYMZ+OlaZ9VQD0rmjkCMgJHqtD7dWtcXxHHnN5qfxr6pP3uXEXx7JAV2P26HR DcPtPmPOn6HiS71oCZDnPyB62jmMeXKhyOnwmDBqXDQBPiMkgcH0vrDbN/phtbWoGUMl Tdd+PU7mUfM0GNXwJlZN5MMBLs9Ly9LVW4Fz4gYjp2ZOJjqDlKeA/f+rLsAmpxwyJGmN Eb5Yo6vx0xZm5COCFhoJF1PpsMhjmV/YTDRHPHOkK7cg7V67FZkaENs3CtmuOir8bNL0 D9ig== X-Gm-Message-State: AFeK/H1xYFdfyv8yXXag1GuytzfgfqDL/BzpIPMcjlZWdps7ZH1ZAx6XUU5pj0ZbXB9319WYnBnf8HAfLOwSNQ== X-Received: by 10.37.35.85 with SMTP id j82mr18529079ybj.178.1491835521303; Mon, 10 Apr 2017 07:45:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.172.152 with HTTP; Mon, 10 Apr 2017 07:45:20 -0700 (PDT) In-Reply-To: References: From: Vladislav Pyatkov Date: Mon, 10 Apr 2017 17:45:20 +0300 Message-ID: Subject: Re: TouchedExpiryPolicy works incorrect in some cases IGNITE-4401 To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary=001a113cddca4f9eee054cd1062f archived-at: Mon, 10 Apr 2017 14:45:25 -0000 --001a113cddca4f9eee054cd1062f Content-Type: text/plain; charset=UTF-8 Aleksey, Yes, it's corect. Pay attention, in the example was used TouchedExpiryPolicy with 20 seconds as parameter. This mean enteries will never expired in the example, because its touching each 10 seconds. On Mon, Apr 10, 2017 at 5:23 PM, ALEKSEY KUZNETSOV wrote: > Hello igniters! > Im fixing https://issues.apache.org/jira/browse/IGNITE-4401 > In configuration of cache with name defaultNameEDUPropCache in > initializeCache() there is ExpiryPolicyFactory with duration 20 seconds. > In main test method after sleeping 10 seconds the entity must not be > expired. So my question is the following: Is the ticket correct ? Should we > close it? > -- > > *Best Regards,* > > *Kuznetsov Aleksey* > -- Vladislav Pyatkov --001a113cddca4f9eee054cd1062f--