You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by th...@apache.org on 2014/10/13 18:38:50 UTC
svn commit: r1631462 - in /lucene/dev/trunk/solr: CHANGES.txt bin/solr
Author: thelabdude
Date: Mon Oct 13 16:38:49 2014
New Revision: 1631462
URL: http://svn.apache.org/r1631462
Log:
SOLR-6592: add mention in solr/CHANGES.txt
Modified:
lucene/dev/trunk/solr/CHANGES.txt
lucene/dev/trunk/solr/bin/solr
Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1631462&r1=1631461&r2=1631462&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Mon Oct 13 16:38:49 2014
@@ -303,6 +303,9 @@ Other Changes
* SOLR-5852: Add CloudSolrServer helper method to connect to a ZK ensemble. (Varun Thacker, Furkan KAMACI,
Shawn Heisey, Mark Miller, Erick Erickson via shalin)
+* SOLR-6592: Avoid waiting for the leader to see the down state if that leader is not live.
+ (Timothy Potter)
+
================== 4.10.1 ==================
Bug Fixes
Modified: lucene/dev/trunk/solr/bin/solr
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/bin/solr?rev=1631462&r1=1631461&r2=1631462&view=diff
==============================================================================
--- lucene/dev/trunk/solr/bin/solr (original)
+++ lucene/dev/trunk/solr/bin/solr Mon Oct 13 16:38:49 2014
@@ -698,6 +698,12 @@ fi
if [[ "$SCRIPT_CMD" == "start" ]]; then
# see if Solr is already running
SOLR_PID=`solr_pid_by_port "$SOLR_PORT"`
+
+ if [ "$SOLR_PID" == "" ]; then
+ # not found using the pid file ... but use ps to ensure not found
+ SOLR_PID=`ps waux | grep start.jar | grep $SOLR_PORT | grep -v grep | awk '{print $2}' | sort -r`
+ fi
+
if [ "$SOLR_PID" != "" ]; then
echo -e "\nSolr already running on port $SOLR_PORT (pid: $SOLR_PID)!"
echo -e "Please use the 'restart' command if you want to restart this node.\n"