lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r1647799 - in /lucene/dev/trunk/solr: CHANGES.txt core/src/java/org/apache/solr/cloud/RecoveryStrategy.java
Date Wed, 24 Dec 2014 14:48:28 GMT
Author: shalin
Date: Wed Dec 24 14:48:28 2014
New Revision: 1647799

URL: http://svn.apache.org/r1647799
Log:
SOLR-6885: Add core name to RecoveryThread name

This closes #117.

Modified:
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java

Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1647799&r1=1647798&r2=1647799&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Wed Dec 24 14:48:28 2014
@@ -548,6 +548,8 @@ Other Changes
   more user-friendly error reporting (no stack trace), and the ability to pass a 
   directory when using bin/solr to create a core or collection (Timothy Potter)
 
+* SOLR-6885: Add core name to RecoveryThread name. (Christine Poerschke via shalin)
+
 ==================  4.10.3 ==================
 
 Bug Fixes

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java?rev=1647799&r1=1647798&r2=1647799&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/RecoveryStrategy.java Wed Dec
24 14:48:28 2014
@@ -97,7 +97,7 @@ public class RecoveryStrategy extends Th
     this.cc = cc;
     this.coreName = cd.getName();
     this.recoveryListener = recoveryListener;
-    setName("RecoveryThread");
+    setName("RecoveryThread-"+this.coreName);
     zkController = cc.getZkController();
     zkStateReader = zkController.getZkStateReader();
     baseUrl = zkController.getBaseUrl();



Mime
View raw message