diff --git a/br/pkg/storage/BUILD.bazel b/br/pkg/storage/BUILD.bazel index 048fc4b4e1939..afc2db4bf67ff 100644 --- a/br/pkg/storage/BUILD.bazel +++ b/br/pkg/storage/BUILD.bazel @@ -38,8 +38,9 @@ go_library( "@com_github_azure_azure_sdk_for_go_sdk_azcore//policy", "@com_github_azure_azure_sdk_for_go_sdk_azidentity//:azidentity", "@com_github_azure_azure_sdk_for_go_sdk_storage_azblob//:azblob", - "@com_github_golang_snappy//:snappy", "@com_github_google_uuid//:uuid", + "@com_github_klauspost_compress//gzip", + "@com_github_klauspost_compress//snappy", "@com_github_klauspost_compress//zstd", "@com_github_pingcap_errors//:errors", "@com_github_pingcap_kvproto//pkg/brpb", diff --git a/br/pkg/storage/writer.go b/br/pkg/storage/writer.go index 5f6478de78c0e..003f91451fd03 100644 --- a/br/pkg/storage/writer.go +++ b/br/pkg/storage/writer.go @@ -5,8 +5,8 @@ import ( "context" "io" - "github.com/golang/snappy" "github.com/klauspost/compress/gzip" + "github.com/klauspost/compress/snappy" "github.com/klauspost/compress/zstd" "github.com/pingcap/errors" "github.com/pingcap/log"