[
https://issues.apache.org/jira/browse/SOLR-14472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110646#comment-17110646
]
ASF subversion and git services commented on SOLR-14472:
--------------------------------------------------------
Commit 253f04cef89e3a0961cff2c1d8de44eebcb893b4 in lucene-solr's branch
refs/heads/branch_8x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=253f04c ]
SOLR-14472: Autoscale "cores": use metrics to count
Also counts all cores (lazy, transient), although currently impossible to use
these in SolrCloud.
(cherry picked from commit d3d0df9da15b9a60280775a0deb4f57e1bd3dea5)
> 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
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]