You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/03/26 16:46:16 UTC

[lucene] 07/07: wip - workaround, create old clusterstate.json.

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to tag history/branches/lucene-solr/reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene.git

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);
 //