Jira (PDB-5112) Audit hashing of PDB entities

1 view
Skip to first unread message

Zachary Kent (Jira)

unread,
Apr 21, 2021, 1:02:02 PM4/21/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
 
PuppetDB / Bug PDB-5112
Audit hashing of PDB entities
Change By: Zachary Kent
Summary: Audit hashing of PDB commands entities
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, 2:54:03 PM4/21/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Story Points: 1

Zachary Kent (Jira)

unread,
Apr 21, 2021, 2:55:01 PM4/21/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Sprint: HAHA/Grooming HA 2020-05-05

Zachary Kent (Jira)

unread,
Apr 23, 2021, 12:31:04 PM4/23/21
to puppe...@googlegroups.com
Zachary Kent assigned an issue to Zachary Kent
Change By: Zachary Kent
Assignee: Zachary Kent

Zachary Kent (Jira)

unread,
Apr 29, 2021, 6:46:03 PM4/29/21
to puppe...@googlegroups.com
Zachary Kent commented on Bug PDB-5112
 
Re: Audit hashing of PDB entities

Looked over the other hashing functions in scf/hash.clj. They all appear to sort incoming values when differences in ordering would cause a different hash to be calculated. When the storage of package inventory was introduced it looks like the order of packages was taken into account in the package-similarity-hash function but not in facts-identity-hash function. See this commit for more detail. I believe the issue found in PDB-5021 is isolated and the other hashing seems correct.

Zachary Kent (Jira)

unread,
Apr 29, 2021, 6:46:04 PM4/29/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Fix Version/s: PDB n/a
Reply all
Reply to author
Forward
0 new messages