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

Remove zstdpool-syncpool #551

Merged
merged 1 commit into from Apr 25, 2024
Merged

Remove zstdpool-syncpool #551

merged 1 commit into from Apr 25, 2024

Conversation

danw
Copy link
Contributor

@danw danw commented Apr 12, 2024

It was initially created due to goroutine leakage as described in klauspost/compress#264, but that has now been fixed in the zstd package. So it's safe to use zstd Encoders/Decoders in sync.Pool directly, as long as concurrency is disabled.

go/pkg/client/cas_download.go Show resolved Hide resolved
go/pkg/client/cas_download.go Outdated Show resolved Hide resolved
go/pkg/reader/reader.go Show resolved Hide resolved
It was initially created due to goroutine leakage as described in
klauspost/compress#264, but that has now been
fixed in the zstd package. So it's safe to use zstd Encoders/Decoders in
sync.Pool directly, as long as concurrency is disabled.
@mrahs mrahs merged commit c2fef0a into bazelbuild:master Apr 25, 2024
6 checks passed
@danw danw deleted the zstdpool branch April 25, 2024 17:01
mrahs pushed a commit to mrahs/remote-apis-sdks that referenced this pull request Apr 29, 2024
It was initially created due to goroutine leakage as described in
klauspost/compress#264, but that has now been
fixed in the zstd package. So it's safe to use zstd Encoders/Decoders in
sync.Pool directly, as long as concurrency is disabled.
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.

None yet

3 participants