SOLR-5645: A SolrCore reload via the CoreContainer will try and register in zk again with the new SolrCore.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559578 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-01-19 20:34:52 +00:00
parent dd8fe60fc7
commit fb9374bffb
2 changed files with 4 additions and 1 deletions

View File

@ -386,6 +386,9 @@ Bug Fixes
updates meant for replicas to be lost. (Markus Jelsma, Timothy Potter,
Joel Bernstein, Mark Miller)
* SOLR-5645: A SolrCore reload via the CoreContainer will try and register in
zk again with the new SolrCore. (Mark Miller)
Optimizations
----------------------

View File

@ -719,7 +719,7 @@ public class CoreContainer {
SolrCore newCore = core.reload(solrLoader, core);
// keep core to orig name link
solrCores.removeCoreToOrigName(newCore, core);
registerCore(false, name, newCore, false);
registerCore(false, name, newCore, false, false);
} finally {
solrCores.removeFromPendingOps(name);
}