[
https://issues.apache.org/jira/browse/SOLR-11558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838191#comment-16838191
]
Erick Erickson commented on SOLR-11558:
---------------------------------------
Here's a patch for this, someone with any JS skills please take a quick look.
I'm particularly interested in how I passed the variables from
{code:java}
$scope.initGraph = function()
{code}
to
{code:java}
solrAdminApp.directive('graph', function(Constants) {
var helper_tooltip_text = function (d) {
{code}
The original code took some care to insure that each of the variables in the
tooltip has a length, and there's the whole helperData thing that I don't
particularly understand, but then I know virtually nothing about JS. Worst
thing that happens in the tooltip is that it prints "undefined" I think.
[~tomasflobbe] note the following:
One thing I did notice that's a bit odd. I created a 4 x 4 collection, with 2
tlog and 2 pull replicas. But the state.json, and therefore the tooltip has an
nrtReplica count of 1. I don't see anything about this in the ref guide, is it
the case that we expect one of the tlog replicas to count as an NRT replica?
NOTE: there are only 4 replicas in total, but if I add up pull, tlog and nrt I
get 5....
{code:java}
"pullReplicas":"2",
"replicationFactor":"1",
"router":{"name":"compositeId"},
"maxShardsPerNode":"20",
"autoAddReplicas":"false",
"nrtReplicas":"1",
"tlogReplicas":"2",
{code}
Let me know. I'll check this in later this week unless there are objections.
> It would be nice if the Graph section of the Cloud tab in the Admin UI could
> give some more information about the replicas of a collection
> ------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-11558
> URL: https://issues.apache.org/jira/browse/SOLR-11558
> Project: Solr
> Issue Type: Wish
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Admin UI
> Reporter: Tomás Fernández Löbbe
> Assignee: Erick Erickson
> Priority: Minor
> Attachments: SOLR-11558.patch
>
>
> Right now it lists the nodes where they are hosted, the state and if they are
> or not leader. I usually find the need to see more, like the replica and core
> names and the replica type, and I find myself moving between this view and
> the “tree” view.
> I thought about two options:
> # A mouse over action that lists the additional information (after some time
> of holding the mouse pointer on top of the replica)
> # Modify the click action to display this information (right now the click
> sends you to the admin UI of that particular replica)
> The same could be done to display some extra information of the shard (like
> active/inactive, routing range) and the collection (autoAddReplicas,
> maxShardsPerNode, configset, etc)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]