Skip to content
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

Replace cespare/xxhash with cespare/xxhash/v2 #4485

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Dec 20, 2024

What this PR does:

Currently, we are using two versions of the same package for xxHash:

tempo/go.mod

Lines 10 to 11 in dbd7505

github.com/cespare/xxhash v1.1.0
github.com/cespare/xxhash/v2 v2.3.0

github.com/cespare/xxhash/v2 is the latest version, which includes bug fixes and improvements. This PR updates the codebase to replace github.com/cespare/xxhash with github.com/cespare/xxhash/v2.

Which issue(s) this PR fixes:

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

CHANGELOG.md Outdated Show resolved Hide resolved
tempodb/encoding/v2/appender.go Show resolved Hide resolved
tempodb/encoding/v2/index_reader.go Show resolved Hide resolved
tempodb/encoding/v2/index_writer.go Show resolved Hide resolved
`github.com/cespare/xxhash/v2` is the latest version with bug fixes and
improvements.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@Juneezee
Copy link
Contributor Author

Rebased to fix conflicts in go.sum.

@electron0zero electron0zero enabled auto-merge (squash) December 24, 2024 15:06
@electron0zero
Copy link
Member

thank you for your contribution 👏🏼

@electron0zero electron0zero merged commit e16215c into grafana:main Dec 24, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants