[
https://issues.apache.org/jira/browse/SOLR-12449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505632#comment-16505632
]
ASF subversion and git services commented on SOLR-12449:
--------------------------------------------------------
Commit 63c55d864390733db71a72180ce274db92b5f0ce in lucene-solr's branch
refs/heads/branch_7x from [~noble.paul]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=63c55d8 ]
SOLR-12449: Response /autoscaling/diagnostics shows improper json
> Response /autoscaling/diagnostics shows improper json
> -----------------------------------------------------
>
> Key: SOLR-12449
> URL: https://issues.apache.org/jira/browse/SOLR-12449
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: AutoScaling
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
> Fix For: master (8.0), 7.5
>
> Attachments: SOLR-12449.patch
>
>
> the value for the key "replica" is a serialized json itself
> {{"replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:}}{{
> {\n \"NRT\":2,\n \"PULL\":0,\n \"TLOG\":0,\n \"count\":2}
> }}
> "
> {code:java}
> {
> "violations":[{
> "collection":"c1",
> "shard":"s1",
> "tagKey":"8983",
> "violation":{
>
> "replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:{\n
> \"NRT\":2,\n \"PULL\":0,\n \"TLOG\":0,\n \"count\":2}",
> "delta":-2},
> "clause":{
> "replica":0,
> "shard":"#EACH",
> "port":"8983",
> "collection":"c1"}},
> {
> "collection":"c1",
> "shard":"s2",
> "tagKey":"8983",
> "violation":{
>
> "replica":"org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount:{\n
> \"NRT\":2,\n \"PULL\":0,\n \"TLOG\":0,\n \"count\":2}",
> "delta":-2},
> "clause":{
> "replica":0,
> "shard":"#EACH",
> "port":"8983",
> "collection":"c1"}}]}
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]