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 463BBD6C2 for ; Wed, 21 Nov 2012 21:44:59 +0000 (UTC) Received: (qmail 31479 invoked by uid 500); 21 Nov 2012 21:44:58 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 31372 invoked by uid 500); 21 Nov 2012 21:44:58 -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 31365 invoked by uid 99); 21 Nov 2012 21:44:57 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Nov 2012 21:44:57 +0000 Date: Wed, 21 Nov 2012 21:44:57 +0000 (UTC) From: "Jethro Bakker (JIRA)" To: dev@lucene.apache.org Message-ID: <1832272752.14307.1353534297969.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (SOLR-4104) SolrCloudServer doesn't support multiple collections on same node MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jethro Bakker created SOLR-4104: ----------------------------------- Summary: SolrCloudServer doesn't support multiple collections on same node Key: SOLR-4104 URL: https://issues.apache.org/jira/browse/SOLR-4104 Project: Solr Issue Type: Bug Components: clients - java, SolrCloud Affects Versions: 4.0 Reporter: Jethro Bakker We have got three solr instances and two collections which are replicated twice. So each solr instance has all the data available. The current implementation of CloudSolrServer has internal 6 slices but the end result is 3 urls which are passed to the load balancer. I think the problem is on the first line of the following code: if (nodes.put(node, nodeProps) == null) { if (!sendToLeaders || (sendToLeaders && coreNodeProps.isLeader())) { String url = coreNodeProps.getCoreUrl(); urlList2.add(url); } else if (sendToLeaders) { String url = coreNodeProps.getCoreUrl(); replicas.add(url); } } The precondition of this code is that a node can contain one collection, which is not true. -- 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