Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14472

Autoscaling "cores" preference should count all cores, not just loaded.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.6
    • Component/s: AutoScaling
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                dsmiley David Smiley
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m