From dev-return-35734-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Tue Jun 19 12:18:43 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 0323A180634 for ; Tue, 19 Jun 2018 12:18:42 +0200 (CEST) Received: (qmail 28472 invoked by uid 500); 19 Jun 2018 10:18:42 -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 28460 invoked by uid 99); 19 Jun 2018 10:18:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2018 10:18:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D75EF1A16CD for ; Tue, 19 Jun 2018 10:18:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.238 X-Spam-Level: X-Spam-Status: No, score=0.238 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd2-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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id HERIHa6ANTTH for ; Tue, 19 Jun 2018 10:18:40 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 8E0675F3CC for ; Tue, 19 Jun 2018 10:18:39 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id t2-v6so22870900lfd.6 for ; Tue, 19 Jun 2018 03:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:message-id:subject:to:date:in-reply-to:references :mime-version; bh=6S68XLLfuxfPYM/elTp2IFyvsmS6Q/WjEvIjMqGVnls=; b=j9sWXHQxkul3wwQEI4fkWL+DoXZeUs5QAjK01lWoIOqgyPcVno64k+L0bz/1kKWj+B VV+HpflnNVZ0AqOxSMuxoDQtjaRRfBx0H5okoC8inVddmwHga/TBflXuD3EWuILErtjQ 92T9fsw3TKPDAb2OyFYQZqJ9qEei/+dOG9gr3aOzWB7dxXysAeDSvXn4zCcOensERmQ3 8zIcawXTmopAw1siMfXm/WHAyuZpk3aV9w7o380TCm8GBsbPi0owaKxjt/lPgYks7p0f 595Umz6osrZ60gNLbP99SJFJbANKzWZ3i8rAhP++N1P1aRytSmsUaTvSnJjQTTbrPRmW nfFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:message-id:subject:to:date :in-reply-to:references:mime-version; bh=6S68XLLfuxfPYM/elTp2IFyvsmS6Q/WjEvIjMqGVnls=; b=qUsJso/9tR8l1C0ULHcnZ+k49Zx2q4ae3CdqJEYdCFPLu7vnPLZZ9cOXUOBS8lraFo nM2MdCTlDIFIDAQmLFw9Oe4w6sBeCI8qKkxOJnq7PGMwzGtneIaCdZBnkY97kik8gkhV moC+kmnY7KIHIeMRX70emMLn4Bd0c8vsNOrYNuyJl17qDm7vjcAR4I45+0GZ51kidLoc HY1zDOZrgFYGg/NOqi+e8rqpI/656THo/mFhwpM1Qge6XphqkNDB9CSLRlrEe0uvlFMK 2r+CXzUyGLUgIs9ctoQgVUKiolIA+nt2Evu6dcJhjW/bTaDA0ucworNmphqdQTjsnMoM eecw== X-Gm-Message-State: APt69E0MdGv8LCWjR1u9aZIwVy8TZLdTfV9RAoTjtTvyDmvCh0JLmBRL iOcnVWVLTZfmyyRW2zsYLa7kQ9qT X-Google-Smtp-Source: ADUXVKJWWHq9djMAMo3jr9eA31E42jrFDQvACk/6S7h3JtGlO+p26LevYcgsSZoHECfSwT3T9K4bng== X-Received: by 2002:a19:2544:: with SMTP id l65-v6mr977789lfl.84.1529403518200; Tue, 19 Jun 2018 03:18:38 -0700 (PDT) Received: from i155-r06uetx.sigma.sbrf.ru ([194.186.207.245]) by smtp.googlemail.com with ESMTPSA id f63-v6sm3117546lje.79.2018.06.19.03.18.37 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 03:18:37 -0700 (PDT) Sender: =?UTF-8?B?0J3QuNC60L7Qu9Cw0Lkg0JjQttC40LrQvtCy?= From: Nikolay Izhikov X-Google-Original-From: Nikolay Izhikov Message-ID: Subject: Re: Entries are not loaded into cache during cache store loading To: dev@ignite.apache.org Date: Tue, 19 Jun 2018 13:18:31 +0300 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-QjT58JhLwbDW+cdont/b" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 --=-QjT58JhLwbDW+cdont/b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Aleksey. By "cache store" you mean 3-d party cache store [1] ? https://apacheignite.readme.io/docs/3rd-party-store =D0=92 =D0=92=D1=82, 19/06/2018 =D0=B2 13:10 +0300, Aleksey Kuznetsov =D0= =BF=D0=B8=D1=88=D0=B5=D1=82: > Hi, Igniters! >=20 > During test bug fixing [1], I stumbled on the following issue: > When we perform cache store loading and start several nodes > simulateneously, some entries might not be loaded into cache. >=20 > Entry is loaded in `GridDhtCacheAdapter#loadEntry`, but it fails on > `ctx.group().topology().localPartition()` > because partition is moved to another node during rebalancing. >=20 > One possible solution to this issue is to block PME if cache store loadin= g > is in progress. > But there is drawback: PME might hang for a long period and will lead to > massive data rebalancing. >=20 > Another solution is to cancel cache store loading if PME is started. > Exception should be thrown to user, so he has got possibility to reinitia= te > cache store loading procedure. >=20 > Personally, I like first solution more: user might prefer PME hang than > canceling cache store loading. > I think, we should warn user about PME hang when he starts cache store > loading. >=20 > What do u think on this issue ? >=20 > [1] : https://issues.apache.org/jira/browse/IGNITE-4210 --=-QjT58JhLwbDW+cdont/b Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEOiTcLcdgyP2exB5ZbiaPbjg91GUFAlso2HcACgkQbiaPbjg9 1GV2QQf/UyLAUOvhyQpKzVnDZT2acf3BhctjLDlNZPsNyXPrYhXQcxvRpwH4Whol +iMvIi5j9PAwJon2sk8FA0KVbCNS/jBQozWTrr/6Gvtkj0zyReg0+qwvw20zwp1N HF2VkiA2bQP9r332l+Tf0r86L+ymwdAbYBm1Nhd3XQ345LLA9vBLktYfxI2du0RV H4YDyFFB0BCyurUktyuQU8kZr7QH0cPFzIQIzhipg6sdGzugLFlqKtIx7G7QOV3e bTJ0mxUdTWAEbUioSeLOv0ML4E6BUoZrddx2Jw00APfS8ugIEwPb4VvmDb1Iwutt Qm42CRMn2uku6ED4EPctRAl7kn88Jw== =WgPX -----END PGP SIGNATURE----- --=-QjT58JhLwbDW+cdont/b--