Skip to content

Commit

Permalink
SOLR-16891: Fix blank Cloud graph screen in UI (apache#1783)
Browse files Browse the repository at this point in the history
* MapWriter and IteratorWriter should not be special cases for JSON writing
* DocCollection, Slice and Replica now write to Json and write to Maps identically.

(cherry picked from commit 952a7be)
  • Loading branch information
HoustonPutman authored and Justin Sweeney committed Apr 26, 2024
1 parent ee92d7d commit 4e057d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions solr/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ Bug Fixes

* SOLR-16753: PRS state is now always updated at the end of a splitShard. (Houston Putman, hossman)

* SOLR-16891: DocCollection, Slice and Replica now write to Json and write to Maps identically. (Houston Putman, Tomás Fernández Löbbe)

Dependency Upgrades
---------------------
* PR#1744: Update software.amazon.awssdk:* to v2.20.97 (solrbot)
Expand Down
2 changes: 1 addition & 1 deletion solr/solrj/src/java/org/apache/solr/common/util/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public static Number intIfNotOverflown(long n) {
public static byte[] toJSON(Object o) {
if (o == null) return new byte[0];
CharArr out = new CharArr();
new JSONWriter(out, 0).write(o); // indentation by default
new JSONWriter(out, 2).write(o); // indentation by default
return toUTF8(out);
}

Expand Down

0 comments on commit 4e057d6

Please sign in to comment.