[
https://issues.apache.org/jira/browse/SOLR-14472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17105072#comment-17105072
]
David Smiley commented on SOLR-14472:
-------------------------------------
You are correct. Where I work I have transient cores working for a special
replica type. that’s another story. I’m hoping you might like this PR anyways.
It computes the core count much more efficiently.
> Autoscaling "cores" preference should count all cores, not just loaded.
> -----------------------------------------------------------------------
>
> Key: SOLR-14472
> URL: https://issues.apache.org/jira/browse/SOLR-14472
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: AutoScaling
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Minor
>
> The AutoScaling "cores" preference works by counting the core names that are
> retrievable via the metrics API. 99% of the time, that's fine but it does
> not count unloaded transient cores that are also tracked by the
> CoreContainer, which I think should be counted as well. Most users don't
> have such cores so it won't affect them.
> Furthermore, instead of counting them by asking the metrics API to return
> each loaded core name, it should use the {{CONTAINER.cores}} prefix set of
> counters.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]