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

noble pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 3f1645f86d8 Wrong impl of Mapwriter#write()
3f1645f86d8 is described below

commit 3f1645f86d8637514441e737ba2215c9b391b6f0
Author: Noble Paul <[email protected]>
AuthorDate: Wed Apr 12 22:35:28 2023 +1000

    Wrong impl of Mapwriter#write()
---
 solr/solrj/src/java/org/apache/solr/common/cloud/Replica.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/solrj/src/java/org/apache/solr/common/cloud/Replica.java 
b/solr/solrj/src/java/org/apache/solr/common/cloud/Replica.java
index a336abcad60..067bd408c03 100644
--- a/solr/solrj/src/java/org/apache/solr/common/cloud/Replica.java
+++ b/solr/solrj/src/java/org/apache/solr/common/cloud/Replica.java
@@ -373,7 +373,7 @@ public class Replica extends ZkNodeProps implements 
MapWriter {
 
   @Override
   public void writeMap(MapWriter.EntryWriter ew) throws IOException {
-    ew.put(name, _allPropsWriter());
+    _allPropsWriter().writeMap(ew);
   }
 
   private static final Map<String, State> STATES = new HashMap<>();

Reply via email to