[
https://issues.apache.org/jira/browse/SOLR-6325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111327#comment-14111327
]
Shawn Heisey commented on SOLR-6325:
------------------------------------
I don't think that the replication handler is the right place to actually
calculate the index size, and the code that gets the size is currently
duplicated in two places that I know about (the eplication handler and
CoreAdminHandler). The current patch on SOLR-3990 consolidates the calculation
to a method on the SolrCore object.
Currently, if you remove the replication handler, there is currently no other
way to get the index size from the admin UI. Right now, that's the only reason
I have the replication handler enabled. I am not in cloud mode.
Exposing the index size in the replication handler (and the replication section
of the admin UI) does not seem like a bad thing to me, though for comparison
purposes I think it should show the bytes, not the human readable translation.
> Expose per-collection and per-shard aggregate statistics
> --------------------------------------------------------
>
> Key: SOLR-6325
> URL: https://issues.apache.org/jira/browse/SOLR-6325
> Project: Solr
> Issue Type: Sub-task
> Components: SolrCloud
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Fix For: 4.9, 5.0
>
> Attachments: SOLR-6325.patch, SOLR-6325.patch, SOLR-6325.patch,
> SOLR-6325.patch
>
>
> SolrCloud doesn't provide any aggregate stats about the cluster or a
> collection. Very common questions such as document counts per shard, index
> sizes, request rates etc cannot be answered easily without figuring out the
> cluster state, invoking multiple core admin APIs and aggregating them
> manually.
> I propose that we expose an API which returns each of the following on a
> per-collection and per-shard basis:
> # Document counts
> # Index size on disk
> # Query request rate
> # Indexing request rate
> # Real time get request rate
> I am not yet sure if this should be a distributed search component or a
> collection API.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]