Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A178DCAA for ; Sun, 11 Nov 2012 18:51:13 +0000 (UTC) Received: (qmail 95502 invoked by uid 500); 11 Nov 2012 18:51:12 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 95454 invoked by uid 500); 11 Nov 2012 18:51:12 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 95447 invoked by uid 99); 11 Nov 2012 18:51:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Nov 2012 18:51:12 +0000 Date: Sun, 11 Nov 2012 18:51:12 +0000 (UTC) From: "Mark Miller (JIRA)" To: dev@lucene.apache.org Message-ID: <630380541.98052.1352659872177.JavaMail.jiratomcat@arcas> In-Reply-To: <2020409329.91056.1352455812497.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (SOLR-4055) Remove/Reload the collection has the thread safe issue. 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/SOLR-4055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-4055: ------------------------------ Fix Version/s: 5.0 4.1 Assignee: Mark Miller > Remove/Reload the collection has the thread safe issue. > ------------------------------------------------------- > > Key: SOLR-4055 > URL: https://issues.apache.org/jira/browse/SOLR-4055 > Project: Solr > Issue Type: Bug > Components: SolrCloud > Affects Versions: 4.0-ALPHA, 4.0-BETA, 4.0 > Environment: Solr cloud > Reporter: Raintung Li > Assignee: Mark Miller > Fix For: 4.1, 5.0 > > Attachments: patch-4055 > > > OverseerCollectionProcessor class for collectionCmd method has thread safe issue. > The major issue is ModifiableSolrParams params instance will deliver into other thread use(HttpShardHandler.submit). Modify parameter will affect the other threads the correct parameter. > In the method collectionCmd , change the value params.set(CoreAdminParams.CORE, node.getStr(ZkStateReader.CORE_NAME_PROP)); , that occur send the http request thread will get the wrong core name. The result is that can't delete/reload the right core. > The easy fix is clone the ModifiableSolrParams for every request. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org