This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 01bc0f41168 Wrong impl of Mapwriter#write()
01bc0f41168 is described below
commit 01bc0f41168b7db5508f785ce7a3e0968c969836
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<>();