Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15321DB1B for ; Wed, 7 Nov 2012 11:58:04 +0000 (UTC) Received: (qmail 34278 invoked by uid 500); 7 Nov 2012 11:58:00 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 34067 invoked by uid 500); 7 Nov 2012 11:57:58 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 34015 invoked by uid 99); 7 Nov 2012 11:57:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 11:57:56 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of otis.gospodnetic@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-we0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2012 11:57:49 +0000 Received: by mail-we0-f176.google.com with SMTP id z53so755574wey.35 for ; Wed, 07 Nov 2012 03:57:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=k5vJMFqoom891Wlw9SOCKSlpmCMMUoDdJV2p5tdGADY=; b=JxWc296j2fBcnqb2bzGiBx39GvZkk2iQ5hgAygcPMOMsG6IL6oaJxJAfmu8VwNJn/c DC9Vpwjsa+YC1Y7qP8UlENYJORIYEeQK4jZQGRyiPwHoDhNFGaYW1KB2tPFK6PKdNYgv bDDyYS9eIRFkhhEVXoE+73T7tM0YgD7LUUnstEm2sPcPloQ+PtAXiZujEMhT+2xXvvKf BxfPbxIpH5Qka8fMVJkGMWVQeEVKgxA6+joyL3A5kwaL39hVk1Rg53c5xoSjKyqLQQE5 uM+YjJI+cqNN8xzui2S9Cx14v6cSlvH6d1sQhcanqRSS2P75lRIMohLnEYXH7A3GyHTl ZmKg== MIME-Version: 1.0 Received: by 10.216.202.138 with SMTP id d10mr1911571weo.46.1352289449278; Wed, 07 Nov 2012 03:57:29 -0800 (PST) Received: by 10.217.0.79 with HTTP; Wed, 7 Nov 2012 03:57:29 -0800 (PST) Received: by 10.217.0.79 with HTTP; Wed, 7 Nov 2012 03:57:29 -0800 (PST) In-Reply-To: <1b592f9e.8992.13ad9997510.Coremail.suonayi2006@163.com> References: <1b592f9e.8992.13ad9997510.Coremail.suonayi2006@163.com> Date: Wed, 7 Nov 2012 06:57:29 -0500 Message-ID: Subject: Re: Two questions about solrcloud From: Otis Gospodnetic To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=0016e6d77cb641fed604cde66c89 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d77cb641fed604cde66c89 Content-Type: text/plain; charset=ISO-8859-1 Hi, Somebody else may answer 1. 2. Yes you can remove 4th server if you have only 3 shards. I'm not 100% certain if solr will never put 2 shards on the same server, so check what's on the server before shutting it down. Otis -- Performance Monitoring - http://sematext.com/spm On Nov 7, 2012 1:41 AM, "SuoNayi" wrote: > Hi all,sorry for questions about solrcloud from newbie. > here is my two questions: > 1.If I have a solrcloud cluster with two shards and 0 replica on two > different server. > when one of server restarts will the solr instance on that server replay > the transaction log to make sure these operations persistent to the index > files(commit the transaction log)? > > 2.Assuming I have 3 shards cluster with 4 different server, > it will form a cluster with 3 shard and 1 replica. Can I remove one server > to reduce > (degrade)the number of servers? if so does I just need to shutdown the > server and manually remove it's node from ZK? > > Regards > > SuoNayi --0016e6d77cb641fed604cde66c89--