mirror of
https://github.com/apache/lucene.git
synced 2025-02-24 11:16:35 +00:00
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:
parent
dd8fe60fc7
commit
fb9374bffb
@ -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
|
||||
----------------------
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user