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 0FE8719751 for ; Tue, 12 Apr 2016 12:30:26 +0000 (UTC) Received: (qmail 72440 invoked by uid 500); 12 Apr 2016 12:30:26 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 72406 invoked by uid 500); 12 Apr 2016 12:30:26 -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 72383 invoked by uid 99); 12 Apr 2016 12:30:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2016 12:30:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C469E2C1F60 for ; Tue, 12 Apr 2016 12:30:25 +0000 (UTC) Date: Tue, 12 Apr 2016 12:30:25 +0000 (UTC) From: "Denis Magda (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (IGNITE-1481) It is possible to configure local cache with affinity function 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-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Denis Magda resolved IGNITE-1481. --------------------------------- Resolution: Fixed > It is possible to configure local cache with affinity function > -------------------------------------------------------------- > > Key: IGNITE-1481 > URL: https://issues.apache.org/jira/browse/IGNITE-1481 > Project: Ignite > Issue Type: Bug > Components: newbie > Reporter: Andrey Gura > Assignee: kcheng.mvp > Labels: newbie > > {{LOCAL}} cache always uses {{GridCacheProcessor.LocalAffinityFunction}}. > Durign configuration of local cache it is possible to pass other affinity function to cache configuration. All cache operations will work correctly, but user can obtain affinity manager that internally uses incorrect affinity function ({{GridCacheContext.cctx.affinity().aff.aff}}). > Expected behaviour: {{GridCacheContext.cctx.affinity().aff.aff}} always refers to {{GridCacheProcessor.LocalAffinityFunction}} for {{LOCAL}} caches. -- This message was sent by Atlassian JIRA (v6.3.4#6332)