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 CDD1A183A9 for ; Thu, 3 Sep 2015 12:28:48 +0000 (UTC) Received: (qmail 6019 invoked by uid 500); 3 Sep 2015 12:28:45 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 5990 invoked by uid 500); 3 Sep 2015 12:28:45 -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 5905 invoked by uid 99); 3 Sep 2015 12:28:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2015 12:28:45 +0000 Date: Thu, 3 Sep 2015 12:28:45 +0000 (UTC) From: "Semen Boikov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-1366) Start CacheProcessor before QueryProcessor 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-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728943#comment-14728943 ] Semen Boikov commented on IGNITE-1366: -------------------------------------- Found another issue which would be good to fix as part of this ticket: test IgniteCacheP2pUnmarshallingErrorTest hangs from time to time on scan query execution: {noformat} at org.apache.ignite.internal.processors.cache.query.GridCacheQueryFutureAdapter.next(GridCacheQueryFutureAdapter.java:171) at org.apache.ignite.internal.processors.cache.portable.CacheObjectPortableProcessorImpl.onUtilityCacheStarted(CacheObjectPortableProcessorImpl.java:361) at org.apache.ignite.internal.processors.cache.GridCacheProcessor.onKernalStart(GridCacheProcessor.java:885) {noformat} Looks like this can happen because scan request message can arrive on node before message listener is registered. > Start CacheProcessor before QueryProcessor > ------------------------------------------ > > Key: IGNITE-1366 > URL: https://issues.apache.org/jira/browse/IGNITE-1366 > Project: Ignite > Issue Type: Bug > Components: cache > Reporter: Semen Boikov > Assignee: Semen Boikov > Priority: Critical > Fix For: ignite-1.5 > > > Now QueryProcessor is started before CacheProcessor. With this order cache processor can be stopped at the moment when query request is processed, and this causes sporadic errors like NPE (I see this from time to time in IgniteCacheQueryNodeRestartSelfTest). > Looks like cache processor does not need QueryProcessor when it's 'start' method is called so I think start order should be changed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)