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 9237D188B0 for ; Tue, 23 Feb 2016 01:24:34 +0000 (UTC) Received: (qmail 2750 invoked by uid 500); 23 Feb 2016 01:24:18 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 2710 invoked by uid 500); 23 Feb 2016 01:24:18 -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 2595 invoked by uid 99); 23 Feb 2016 01:24:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2016 01:24:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6C95B2C1F57 for ; Tue, 23 Feb 2016 01:24:18 +0000 (UTC) Date: Tue, 23 Feb 2016 01:24:18 +0000 (UTC) From: "Valentin Kulichenko (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-2708) Need to validate that SPIs are started only once MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Valentin Kulichenko created IGNITE-2708: ------------------------------------------- Summary: Need to validate that SPIs are started only once Key: IGNITE-2708 URL: https://issues.apache.org/jira/browse/IGNITE-2708 Project: Ignite Issue Type: Improvement Components: general Reporter: Valentin Kulichenko User forum discussion: http://apache-ignite-users.70518.x6.nabble.com/Ignite-instance-hangs-during-restart-in-client-mode-td3101.html If one uses the same instance of {{IgniteConfiguration}} more than once, it doesn't work because SPIs have lifecycle and can be started only once. Currently this causes hang on start which is counterintuitive. We should add a validation step to {{GridSpiAdapter}} that will check that the SPI was never started before. Its {{spiStart()}} method should set some flag there or throw exception if it has already been set. All internal SPI implementations should be changed to call {{super.spiStart()}} as first statement. -- This message was sent by Atlassian JIRA (v6.3.4#6332)