Skip to content

Apache Lucene open-source search software

SOLR-9697: Fixed zk upconfig which was broken on windows

Jan Høydahl2ad2fca41693
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 6c3ffccee5c..2f464167903 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -279,6 +279,8 @@ Bug Fixes
* SOLR-2094: XPathEntityProcessor should reinitialize the XPathRecordReader instance if
the 'forEach' or 'xpath' attributes are templates & it is not a root entity (Cao Manh Dat, noble)
+
+* SOLR-9697: zk upconfig broken on windows (Xavier Jmlucjav via janhoy)
Optimizations
----------------------
diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index 262a6f8a25b..9860d773d04 100644
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -1361,7 +1361,6 @@ IF "%1"=="-upconfig" (
if not "%~1"=="" (
goto set_zk_src
)
- goto zk_usage
) ELSE IF "!ZK_DST!"=="" (
IF "%ZK_OP%"=="cp" (
goto set_zk_dst