-
Notifications
You must be signed in to change notification settings - Fork 22
Guaranteed order in deduplication dictionary hashes #98
Conversation
Signed-off-by: Cameron Hall <[email protected]>
Signed-off-by: Cameron Hall <[email protected]>
Signed-off-by: Cameron Hall <[email protected]>
Signed-off-by: Cameron Hall <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow! Great work @cjhall1283 !!
- Please remove the print statement I referenced. I suppose it was left behind in local development
- Please increment the minor version number. Your release will be
2.5.0
Co-Authored-By: cjhall1283 <[email protected]>
It's also worth noting that this only effects T1 deduplication so there is almost no cost to migrate from 2.4.x to 2.5.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work here!
Signed-off-by: Cameron Hall <[email protected]>
Signed-off-by: Cameron Hall <[email protected]>
using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like the work done here. Excellent job!
GREASE Developer Pull Request Checklist Guaranteed order in deduplication dictionary hashes
USE THIS TEMPLATE FOR YOUR PULL REQUEST!
Purpose
In deduplication, the order of items in the dictionary to be hashed is not guaranteed. This PR fixes that by turning an unsorted dictionary into an ordered tuple before hashing.
Expected Outcome
Hashes will be consistent regardless of the ordering of the incoming dictionary in deduplication.
Checklist