You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2021/03/10 03:39:30 UTC
[lucene-solr] branch reference_impl updated: wip - workaround,
create old clusterstate.json.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl by this push:
new 3fb35b9 wip - workaround, create old clusterstate.json.
3fb35b9 is described below
commit 3fb35b9cbdc7877ef48a48d2e727f1fda465325c
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Mar 9 21:38:44 2021 -0600
wip - workaround, create old clusterstate.json.
Took 3 minutes
---
solr/core/src/java/org/apache/solr/cloud/ZkController.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/solr/core/src/java/org/apache/solr/cloud/ZkController.java b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
index 2a78b18..2884dbb 100644
--- a/solr/core/src/java/org/apache/solr/cloud/ZkController.java
+++ b/solr/core/src/java/org/apache/solr/cloud/ZkController.java
@@ -840,6 +840,8 @@ public class ZkController implements Closeable, Runnable {
paths.put(ZkStateReader.ROLES, emptyJson);
+ paths.put("/clusterstate.json", emptyJson);
+
paths.put(COLLECTIONS_ZKNODE, null);
//