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 0399C11FFB for ; Wed, 14 May 2014 21:58:28 +0000 (UTC) Received: (qmail 70394 invoked by uid 500); 10 May 2014 23:09:04 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 8331 invoked by uid 500); 10 May 2014 22:56:55 -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 77335 invoked by uid 99); 10 May 2014 22:54:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2014 22:54:55 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of adfel70@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2014 15:00:26 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WiPnq-0003i6-4P for solr-user@lucene.apache.org; Thu, 08 May 2014 08:00:06 -0700 Date: Thu, 8 May 2014 08:00:06 -0700 (PDT) From: adfel70 To: solr-user@lucene.apache.org Message-ID: <1399561206128-4135077.post@n3.nabble.com> Subject: Replica as a "leader" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Solr & Collection Info: solr 4.8 , 4 shards, 3 replicas per shard, 30-40 milion docs per shard. Process: 1. Indexing 100-200 docs per second. 2. Doing Pkill -9 java to 2 replicas (not the leader) in shard 3 (while indexing). 3. Indexing for 10-20 minutes and doing hard commit. 4. Doing Pkill -9 java to the leader and then starting one replica in shard 3 (while indexing). 5. After 20 minutes starting another replica in shard 3 ,while indexing (not the leader in step 1). Results: 2. Only the leader is active in shard 3. 3. Thousands of docs were added to the leader in shard 3. 4. After staring the replica, it's state was down and after 10 minutes it became the leader in cluster state (and still down). no servers hosting shards for index and search requests. 5. After starting another replica, it's state was recovering for 2-3 minutes and then it became active (not leader in cluster state). 6. Index, commit and search requests are handeled in the other replicae (*active status, not leader!!!*). Expected: 5. To stay in down status. *6. Not to handel index, commit and search requests - no servers hosting shards!* Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/Replica-as-a-leader-tp4135077.html Sent from the Solr - User mailing list archive at Nabble.com.