lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r1627344 - in /lucene/dev/branches/branch_5x: ./ solr/ solr/CHANGES.txt solr/core/ solr/core/src/java/org/apache/solr/cloud/Overseer.java
Date Wed, 24 Sep 2014 15:17:31 GMT
Author: noble
Date: Wed Sep 24 15:17:31 2014
New Revision: 1627344

URL: http://svn.apache.org/r1627344
Log:
SOLR-6453

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/solr/   (props changed)
    lucene/dev/branches/branch_5x/solr/CHANGES.txt   (contents, props changed)
    lucene/dev/branches/branch_5x/solr/core/   (props changed)
    lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/cloud/Overseer.java

Modified: lucene/dev/branches/branch_5x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/CHANGES.txt?rev=1627344&r1=1627343&r2=1627344&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_5x/solr/CHANGES.txt Wed Sep 24 15:17:31 2014
@@ -236,6 +236,8 @@ Other Changes
 * SOLR-6486: solr start script can have a debug flag option; use -a to set arbitrary options
   (Noble Paul, Timothy Potter)
 
+* SOLR-6453: Stop throwing an error message from Overseer when node exits (Ramkumar Aiyengar,
Noble Paul)
+
 ==================  4.10.0 =================
 
 Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release

Modified: lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/cloud/Overseer.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/cloud/Overseer.java?rev=1627344&r1=1627343&r2=1627344&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/cloud/Overseer.java (original)
+++ lucene/dev/branches/branch_5x/solr/core/src/java/org/apache/solr/cloud/Overseer.java Wed
Sep 24 15:17:31 2014
@@ -376,6 +376,7 @@ public class Overseer implements Closeab
     }
 
     private void checkIfIamStillLeader() {
+      if (zkController != null && zkController.getCoreContainer().isShutDown()) return;//shutting
down no need to go further
       org.apache.zookeeper.data.Stat stat = new org.apache.zookeeper.data.Stat();
       String path = "/overseer_elect/leader";
       byte[] data = null;



Mime
View raw message