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

Perform type validation on individual entries as they are looked up, not the full hash

    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:
    • Team:
      Puppet Developer Experience
    • Story Points:
      1
    • Sprint:
      PDE 2017-03-08
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      small performance improvement - there are others as well that will get a release note.
    • QA Risk Assessment:
      No Action
    • QA Risk Assessment Reason:
      performance related internal change

      Description

      Hiera 5 performs a type validation on the hash that is delivered by a data_hash function. This can lead to degraded performance since that hash might potentially be very big (see example in PUP-7294). A better approach would be to skip that validation and instead validate each value when it is being looked up.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support