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

Don't use "INDEX.sizeInBytes" as a tag name in policy calculations

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: AutoScaling
    • Labels:
      None

      Description

      CORE_IDX and FREEDISK ConditionType reuse this metric name, but they assume the values are expressed in gigabytes. This alone is confusing considering the name of the metric.

      Additionally, it causes conflicts in the simulation framework that would require substantial changes to resolve (ReplicaInfo-s in SimClusterStateProvider keep metric values in their variables, expressed in original units - but then the Policy assumes it can put the values expressed in GB under the same key... hilarity ensues).

        Attachments

        1. SOLR-12208.patch
          5 kB
          Noble Paul
        2. SOLR-12208.patch
          5 kB
          Noble Paul
        3. SOLR-12208.patch
          7 kB
          Noble Paul

          Issue Links

            Activity

              People

              • Assignee:
                ab Andrzej Bialecki
                Reporter:
                ab Andrzej Bialecki
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: