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 98E80200CD0 for ; Tue, 25 Jul 2017 17:10:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9784B166E6C; Tue, 25 Jul 2017 15:10:08 +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 D8EBB166E6B for ; Tue, 25 Jul 2017 17:10:07 +0200 (CEST) Received: (qmail 27433 invoked by uid 500); 25 Jul 2017 15:10:07 -0000 Mailing-List: contact commits-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 commits@ignite.apache.org Received: (qmail 27416 invoked by uid 99); 25 Jul 2017 15:10:07 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jul 2017 15:10:07 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5578FF32B6; Tue, 25 Jul 2017 15:10:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.apache.org Date: Tue, 25 Jul 2017 15:10:05 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/5] ignite git commit: IGNITE-5123 Reorder ignite plugin provider on Ignite start callback call archived-at: Tue, 25 Jul 2017 15:10:08 -0000 Repository: ignite Updated Branches: refs/heads/ignite-5578 ccb855ea0 -> 84562b86e IGNITE-5123 Reorder ignite plugin provider on Ignite start callback call Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/24e4d5d3 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/24e4d5d3 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/24e4d5d3 Branch: refs/heads/ignite-5578 Commit: 24e4d5d31cc494c8c55000aafefd119cc9d879a4 Parents: aeb9336 Author: Evgeniy Ignatiev Authored: Mon Jul 24 15:45:10 2017 +0300 Committer: sboikov Committed: Mon Jul 24 15:45:10 2017 +0300 ---------------------------------------------------------------------- .../main/java/org/apache/ignite/internal/IgniteKernal.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/24e4d5d3/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java index 00c1d73..5186409 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java @@ -1015,10 +1015,6 @@ public class IgniteKernal implements IgniteEx, IgniteMXBean, Externalizable { // Notify IO manager the second so further components can send and receive messages. ctx.io().onKernalStart(active); - // Start plugins. - for (PluginProvider provider : ctx.plugins().allProviders()) - provider.onIgniteStart(); - boolean recon = false; // Callbacks. @@ -1049,6 +1045,10 @@ public class IgniteKernal implements IgniteEx, IgniteMXBean, Externalizable { } } + // Start plugins. + for (PluginProvider provider : ctx.plugins().allProviders()) + provider.onIgniteStart(); + if (recon) reconnectState.waitFirstReconnect();