Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix span deduplication via correct ordering of adjusters (#6116)
## Which problem is this PR solving? - Resolves #6001 (again). If ClockSkew adjuster is run before DedupeBySpanHash, it will add warnings to spans with duplicate span IDs, which affect the hash code, which means that you "dedupe" to two copies of each span, not one. ## Description of the changes - Change the order of Adjusters so that DedupeBySpanHash runs before ClockSkew ## How was this change tested? - In production, lightly - Also unit tested ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` --------- Signed-off-by: Chris Danis <cdanis@wikimedia.org> Signed-off-by: Yuri Shkuro <github@ysh.us> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Co-authored-by: Yuri Shkuro <github@ysh.us>
- Loading branch information