From user-return-18092-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Fri Mar 2 17:34:44 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 A09F718062F for ; Fri, 2 Mar 2018 17:34:43 +0100 (CET) Received: (qmail 27125 invoked by uid 500); 2 Mar 2018 16:34:42 -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 27114 invoked by uid 99); 2 Mar 2018 16:34:42 -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; Fri, 02 Mar 2018 16:34:42 +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 E33221A0A16 for ; Fri, 2 Mar 2018 16:34:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] 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 Yj-jEgw9owg0 for ; Fri, 2 Mar 2018 16:34:39 +0000 (UTC) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 850545F126 for ; Fri, 2 Mar 2018 16:34:39 +0000 (UTC) Received: by mail-io0-f182.google.com with SMTP id v6so11189947iog.7 for ; Fri, 02 Mar 2018 08:34:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=0gRkZx0eYkF2xPSEZLqqSDSX/Lf25Q1RsPxyZnQeda0=; b=lFUPCHOxQwdLRCS86Zo9DIqIY9u1RB8c8XsF/vtK/++qbMC0/ariC75iuZnKvnG97R bhL9/hBcKqQtJihGXyTa6YbzerOCL0tuAdqmWfk5NYgPkhO10cuSyaOzI9r2N4nvvJWK SUd6wXy9sCDHjpSfaRZodPk/JX9VZbm8Sy+7jkTmDsj4LRJUVnHM/Sbll4uGmFvqBHAO YDyUoojQ0m4uTzXP9zJdvdNy0izR79lPq3JkR8+7/ja6l19JZ+cW7Tm5QwcLcab+KDvh F2Q7d0rizGOQtukNvX6i8wVrFStqsjXneIoLiy/WPOBoX7IqxWu9kFqrZHi7cbvLr0Ha BTMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=0gRkZx0eYkF2xPSEZLqqSDSX/Lf25Q1RsPxyZnQeda0=; b=qMGQRXcijk6QtiqRD1NJQKp+sMPYMktIxOCyZ8+DiMI9SpSm0Pp6acNBTTceHb7YQU s5Sb1j7lKXBtApPVmWN/Kmsx17lt2e7PQe7Bzpi5WWrq835wdGLypteDVV8jX+33yVCg E2GjFctomCi4mbf7KOmEwvNmlupKUD379AEaBo/Bs8JdpyTwnOkwc63JK6UBaZiWHuEs duoK4apfwRtWHjr1nFudBn/LhLkqHAttANTWnReg3a7O1C9DSLPQZI+mmU3Eq9akDDnR qwrlKdCVVqgjTAmGpeHtLQcmKn2RNd9TEDxCT4DZuj6FwfUQDw2fwomUsneSxdigBCvw LTlQ== X-Gm-Message-State: APf1xPBFsUFAg1zXdj3w9rz9ZMVGuMA3KZ8x3JJuod2wSOEkdY3tD4jI pm4JimHx1j09VmFhok+QruN7J1vDmI5xRBXe0wI= X-Google-Smtp-Source: AG47ELvE78pJ/od4H7qE54TIkpitTKYqhORJCiiJM9v8F/36SinAMsLP4NvhRHK2Qv9u8R6vmw+wtOrJEITqrfYBvGk= X-Received: by 10.107.29.3 with SMTP id d3mr7354818iod.45.1520008478644; Fri, 02 Mar 2018 08:34:38 -0800 (PST) MIME-Version: 1.0 References: <1520007784489-0.post@n6.nabble.com> In-Reply-To: <1520007784489-0.post@n6.nabble.com> From: Denis Mekhanikov Date: Fri, 02 Mar 2018 16:34:28 +0000 Message-ID: Subject: Re: Affinity key - use of records on backup nodes To: user@ignite.apache.org Content-Type: multipart/alternative; boundary="001a113fd9a86cdcc50566708d28" --001a113fd9a86cdcc50566708d28 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Paulus! In such case there won't be any need in affinity collocation, as long as CacheConfiguration#readFromBackup property is set to true, which is the default. All data will be available on every node, so it's already collocated. Denis =D0=BF=D1=82, 2 =D0=BC=D0=B0=D1=80. 2018 =D0=B3. =D0=B2 19:23, Paulus de B.= : > Quick question, if we have data fully replicated on all nodes, is there > still > a need to use affinity keys? > > Thanks, > > Paulus de B. > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ > --001a113fd9a86cdcc50566708d28 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Paulus!

In such case there won't= be any need in affinity collocation, as long as=C2=A0CacheConfiguration#readFro= mBackup property is set to true, which is the default.
All da= ta will be available on every node, so it's already collocated.

Denis

=D0=BF=D1=82, 2 =D0=BC=D0=B0=D1=80. 2018 =D0=B3. =D0=B2 19:23, Pau= lus de B. <w.p.stuurman= @knollenstein.com>:
Quick qu= estion, if we have data fully replicated on all nodes, is there still
a need to use affinity keys?

Thanks,

Paulus de B.



--
Sent from: http://apache-ignite-users.70518.x6.nabbl= e.com/
--001a113fd9a86cdcc50566708d28--