mirror of https://github.com/apache/lucene.git
SOLR-14504: ZkController LiveNodesListener has NullPointerException in startup race.
This commit is contained in:
parent
9c066f60f1
commit
0728ef06e9
|
@ -192,6 +192,9 @@ Bug Fixes
|
|||
* SOLR-14477: Fix incorrect 'relatedness()' calculations in json.facet 'terms' when 'prefix' option is used
|
||||
(hossman)
|
||||
|
||||
* SOLR-14504: ZkController LiveNodesListener has NullPointerException in startup race.
|
||||
(Colvin Cowie via ab)
|
||||
|
||||
Other Changes
|
||||
---------------------
|
||||
* SOLR-14197: SolrResourceLoader: marked many methods as deprecated, and in some cases rerouted exiting logic to avoid
|
||||
|
|
|
@ -1016,7 +1016,7 @@ public class ZkController implements Closeable {
|
|||
log.warn("Unable to read autoscaling.json", e1);
|
||||
}
|
||||
if (createNodes) {
|
||||
byte[] json = Utils.toJSON(Collections.singletonMap("timestamp", cloudManager.getTimeSource().getEpochTimeNs()));
|
||||
byte[] json = Utils.toJSON(Collections.singletonMap("timestamp", getSolrCloudManager().getTimeSource().getEpochTimeNs()));
|
||||
for (String n : oldNodes) {
|
||||
String path = ZkStateReader.SOLR_AUTOSCALING_NODE_LOST_PATH + "/" + n;
|
||||
|
||||
|
|
Loading…
Reference in New Issue