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 BD63A200C86 for ; Wed, 31 May 2017 15:52:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BBF50160BCB; Wed, 31 May 2017 13:52:44 +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 0DDEB160BBA for ; Wed, 31 May 2017 15:52:43 +0200 (CEST) Received: (qmail 24651 invoked by uid 500); 31 May 2017 13:52:43 -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 24639 invoked by uid 99); 31 May 2017 13:52:42 -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; Wed, 31 May 2017 13:52:42 +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 6D23FC0620 for ; Wed, 31 May 2017 13:52:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.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-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 EGDRHvS43bjM for ; Wed, 31 May 2017 13:52:41 +0000 (UTC) Received: from mail-yw0-f177.google.com (mail-yw0-f177.google.com [209.85.161.177]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id EE7625FB3A for ; Wed, 31 May 2017 13:52:40 +0000 (UTC) Received: by mail-yw0-f177.google.com with SMTP id l14so6803292ywk.1 for ; Wed, 31 May 2017 06:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/JHcYJoq3yIWixBiAyazTODwTmj/sxbran8cfLg0mms=; b=P+SXY3G/iR/DKgCzVeCXs1m4Hn6/OPlhXjHZp/5BuOXPMscUCZmepGO9GjaaNCBGB/ qAkvfr4bIalufM+JL1R3sGWFz0EIDRbcFQGrAA/YPkt1Su6pRs7VSHXpUK92tgtpzcAd WU+n0JK9kY82SX4LUnUn+O3etkjPTz8RwudcC9dZZmamKBUVbDPtbONjfUX9990ECOzW iSh16kmL0Exj8poLLMtomw8cBFkMqD8B00MIAdNpxQPlKJX6ohKwU2dwObdFGlMkKmnu kDYNKKMGvoDpW1Mj4WuD3OME1mVfH7RseIMJdyPoeLK8GQmxh6obfFKAzCwdtUsYRBdz ckSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/JHcYJoq3yIWixBiAyazTODwTmj/sxbran8cfLg0mms=; b=pqB37XpdZC74nqNMvTdOBgZECXdqhoj8onqaCqh7o4SsUZeCa5kzL91P0g5ZTvB0kt cFZtq6yBcChBaKZHR4OHrh/Gs4t3CbnJQ1iEcOoktf8nsxWcPAyeUfpyb4noAX4XPum/ QvbfZPVssCFwgY3G/xtAEcdOu2bm5LcXXXIcFQ0lK2DztDIjwwuPJq1raCKpuY5Wy1+f Mi63aV61Mwm+fKCHTP07AXii+w+6wbJH485l7iPXk1QneXGQO41bZfUq1/jLHGTElxxD BEEMDBP8ADuEhcOoQvafwF2WAX5qZ7p8d+jVu/k4buTy8ba8/aCI7zg7qyzPMYOCkiq7 Bv3Q== X-Gm-Message-State: AODbwcCuzJDFPY/zTa0xMUi5nWQDcfgdVz78PmdnEpYI04yb+xKeNpl+ sPZ23IwIPEKbhJq26zmV7iN+qYJE1w== X-Received: by 10.129.57.138 with SMTP id g132mr19345025ywa.312.1496238759718; Wed, 31 May 2017 06:52:39 -0700 (PDT) MIME-Version: 1.0 From: ALEKSEY KUZNETSOV Date: Wed, 31 May 2017 13:52:29 +0000 Message-ID: Subject: Cache.getAll can return partially commited results. IGNITE-4809 To: "dev@ignite.apache.org" Content-Type: multipart/alternative; boundary="001a114c76b4c5d31b0550d23bbb" archived-at: Wed, 31 May 2017 13:52:44 -0000 --001a114c76b4c5d31b0550d23bbb Content-Type: text/plain; charset="UTF-8" Hi, Igntrs! When the first writer thread has commited values and cache entries are getting updated with this new values, another thread is getting partially assigned values through the cache.getAll(keys) should this method wait for all newly updated entries to finish , or should it throw the exception? If it should wait for entries, what mechanism shall i implement? would appreciate any examples -- *Best Regards,* *Kuznetsov Aleksey* --001a114c76b4c5d31b0550d23bbb--