-
Notifications
You must be signed in to change notification settings - Fork 335
chore: change dsm hashing algorithm to match other tracers #4222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Overall package sizeSelf size: 6.27 MB Dependency sizes
🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4222 +/- ##
==========================================
- Coverage 85.23% 78.79% -6.44%
==========================================
Files 247 14 -233
Lines 10961 1066 -9895
Branches 33 33
==========================================
- Hits 9343 840 -8503
+ Misses 1618 226 -1392 ☔ View full report in Codecov by Sentry. |
BenchmarksBenchmark execution time: 2024-04-09 19:54:04 Comparing candidate commit 7db89db in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 259 metrics, 7 unstable metrics. |
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.
LGTM at a glance, but I have a few questions before approving.
First, is this propagated horizontally, and if yes, wouldn't that be a breaking change?
Second, I thought the algorithm didn't matter which is why we went with the one that was simpler for the language. Has that changed?
The backend will handle that correctly, no matter which way the change is deployed. |
This pull request has been marked as stale due to 90 days of inactivity. |
In a case like this I'd prioritize simpler code (so less overhead) instead of consistency if it doesn't otherwise matter. |
While I generally believe it's good to align behavior when it deviates, I would not expect the hashing algorithm to be important for someone to handle the value. Any value should be handled in an identical way. I believe these cases should be checked one by one. In this case, I agree with @rochdev and would just keep it as is. |
What does this PR do?
Makes DSM hashing consistent with other languages. Not a breaking change. Hashing algo has been changes to use fnv1 algorithm. The hashing code was based off the python implementation
Motivation
Plugin Checklist
Additional Notes