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 80E422004F1 for ; Wed, 30 Aug 2017 15:36:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7F5AF168FC8; Wed, 30 Aug 2017 13:36:43 +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 EC3FF168FC7 for ; Wed, 30 Aug 2017 15:36:42 +0200 (CEST) Received: (qmail 34231 invoked by uid 500); 30 Aug 2017 13:36: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 34220 invoked by uid 99); 30 Aug 2017 13:36:42 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2017 13:36:42 +0000 Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id F242F1A02CF for ; Wed, 30 Aug 2017 13:36:40 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id d17so24624058lfe.1 for ; Wed, 30 Aug 2017 06:36:39 -0700 (PDT) X-Gm-Message-State: AHYfb5iHokb2e5WkOEU1CTElUVf6uR8IcL0tjsAbq/W/drfxPOD5jZ09 L3gfuJG4n//yRJA2zyJHxKNrnXHKuHu3 X-Received: by 10.46.20.83 with SMTP id 19mr352018lju.44.1504100197801; Wed, 30 Aug 2017 06:36:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.83.12 with HTTP; Wed, 30 Aug 2017 06:36:37 -0700 (PDT) From: Yakov Zhdanov Date: Wed, 30 Aug 2017 16:36:37 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: P2P Deployment - Local Ownership Flag To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="f403045fb998ff40ec0557f89da6" archived-at: Wed, 30 Aug 2017 13:36:43 -0000 --f403045fb998ff40ec0557f89da6 Content-Type: text/plain; charset="UTF-8" Igniters, esp. Alex Goncharuk, There was a problem recently discovered with org.apache.ignite.internal.processors.cache.GridCacheDeploymentManager#locDepOwner As far as I remember, this flag is automatically set if Ignite detects public API usage outside of deployment class loader that implies this is user code execution and therefore this node most probably owns classes that may be requested from server nodes. [PROBLEM] It seems when this flag was introduced, we have missed a use case when server nodes may have some user classes on board which use Ignite's public API and therefore local deployment ownership is set to true for them. Topology also contains clients that have broader classpath, but servers may send requests to other servers that have mistakenly set the flag to true. As a temporary solution I would suggest to consider https://issues.apache.org/jira/browse/IGNITE-6213. Thoughts? --Yakov --f403045fb998ff40ec0557f89da6--