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 7C681200AF2 for ; Wed, 4 May 2016 13:28:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 795731601A3; Wed, 4 May 2016 11:28:14 +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 E54541601A4 for ; Wed, 4 May 2016 13:28:13 +0200 (CEST) Received: (qmail 58269 invoked by uid 500); 4 May 2016 11:28:13 -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 58194 invoked by uid 99); 4 May 2016 11:28:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 11:28:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E16D02C1F62 for ; Wed, 4 May 2016 11:28:12 +0000 (UTC) Date: Wed, 4 May 2016 11:28:12 +0000 (UTC) From: "Semen Boikov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (IGNITE-3073) Possible thread starvation due to rebalancing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 04 May 2016 11:28:14 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Semen Boikov closed IGNITE-3073. -------------------------------- > Possible thread starvation due to rebalancing > --------------------------------------------- > > Key: IGNITE-3073 > URL: https://issues.apache.org/jira/browse/IGNITE-3073 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: 1.5.0.final > Reporter: Valentin Kulichenko > Priority: Critical > Fix For: 1.6 > > > We're currently rebalancing the utility cache in the system pool. This can cause starvation, for example in this scenario: > # Start several nodes and a cache with indexing configured. > # Continuously load the system with puts. > # Add one more node. It will join and will start processing put requests immediately. > # For each request, indexing processor will try to get binary metadata and will block on utility cache rebalance future. This will block all threads in the system pool. > # Utility cache rebalancing will be scheduled but will never start, because all threads in system pool are blocked. > I think we should rebalance utility cache synchronously in exchange worker, like we do with the marshaller cache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)