[ 
https://issues.apache.org/jira/browse/SOLR-16773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17717327#comment-17717327
 ] 

Jan Høydahl commented on SOLR-16773:
------------------------------------

The PR gets away with the regex, now we simply construct the metric key from 
collection, shard and replica.

I'm sure larger refactorings could be done in this area as well, but that would 
be a separate Jira and probably a much larger effort than this simple bug fix. 
Also we don't know how fast the newest react UI initiative will move along with 
a brand new solution...

> UI: Cloud>NOdes screen can't display disk usage from replicas using 
> non-standard core names (ie: implicit router)
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-16773
>                 URL: https://issues.apache.org/jira/browse/SOLR-16773
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Chris M. Hostetter
>            Assignee: Jan Høydahl
>            Priority: Major
>         Attachments: implict_router_ui_metrics_bug.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Consider the following cluster w/three collections (including the 
> {{gettingstarted}} collection created by the example)...
> {noformat}
> ./solr/packaging/build/dev/bin/solr -e cloud -noprompt
> curl -sS 
> 'http://localhost:8983/solr/admin/collections?action=CREATE&name=named_shards&router.name=compositeId&numShards=2&shards=shardX,shardY'
> curl -sS 
> 'http://localhost:8983/solr/admin/collections?action=CREATE&name=implicit_named_shards&router.name=implicit&shards=shardA,shardB'{noformat}
>  
> If you look at the Cloud>Nodes screen for this cluster, the "Disk Usage" (and 
> other metrics) for the cores from the {{implicit_named_shards}} collection 
> wound show up. (see screenshot)
>  
> The problem is that {{cloud.js}} expects core names to follow a very specific 
> format, but implicit router names it's cores directly after the shard names 
> specified.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to