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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • AutoScaling
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: