SOLR-6885: Add core name to RecoveryThread name

This closes #117.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647799 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2014-12-24 14:48:28 +00:00
parent 975dbe134e
commit aec7811b66
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -97,7 +97,7 @@ public class RecoveryStrategy extends Thread implements ClosableThread {
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();