Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7303

Improve performance of hiera config stability check

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 4.9.3
    • Fix Version/s: PUP 4.9.4
    • Component/s: None
    • Labels:
    • Template:
    • Acceptance Criteria:
      Hide

      That a benchmark is provided that shows a significant performance improvement.

      Show
      That a benchmark is provided that shows a significant performance improvement.
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-03-08
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Change the hiera configuration stability check, increasing performance.
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      perf; covered by unit benchmarks

      Description

      The check to assert that a hiera configuration is stable with respect to interpolated values, does not take into account that a global variable (a variable that starts with '::') is immutable once set.

      The performance of this check will be greatly improved for use-cases that have a hiera.yaml files similar to this example file from a comment in PUP-7294 if such variables are exempt from the check.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                thomas.hallgren Thomas Hallgren
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support