Jira (PDB-5112) Audit hashing of PDB commands

4 views
Skip to first unread message

Zachary Kent (Jira)

unread,
Apr 21, 2021, 12:56:03 PM4/21/21
to puppe...@googlegroups.com
Zachary Kent created an issue
 
PuppetDB / Bug PDB-5112
Audit hashing of PDB commands
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/04/21 9:55 AM
Priority: Normal Normal
Reporter: Zachary Kent

In PDB-5021 we found an edge case in the way a factset's package_inventory was included in the hash for the factset. The order of the package_inventory mattered in the hash calculation and it was possible with sync that two otherwise identical factsets with differently ordered package_inventory vectors would generate different hashes. This caused sync to repeatedly pull a these factsets until another was submitted.

We should audit the hashing for the other entity types to double check that there aren't similar situations where the ordering of a piece of an entity influences the hash that's calculated.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Zachary Kent (Jira)

unread,
Apr 21, 2021, 12:56:04 PM4/21/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Sprint: HAHA/Grooming
Reply all
Reply to author
Forward
0 new messages