From 5d689708f46fb940b5331939d8c7e87c204ab7ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Aug 2024 04:49:42 +0000 Subject: [PATCH] build(deps): bump github.com/linxGnu/grocksdb from 1.8.14 to 1.9.3 (#189) * build(deps): bump github.com/linxGnu/grocksdb from 1.8.14 to 1.9.3 Bumps [github.com/linxGnu/grocksdb](https://github.com/linxGnu/grocksdb) from 1.8.14 to 1.9.3. - [Release notes](https://github.com/linxGnu/grocksdb/releases) - [Commits](https://github.com/linxGnu/grocksdb/compare/v1.8.14...v1.9.3) --- updated-dependencies: - dependency-name: github.com/linxGnu/grocksdb dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * fix linter and update Rocksdb version --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anton Kaliaev --- .golangci.yml | 2 +- common_test.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- tools/Dockerfile | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 5c8c5b3..cad39dc 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,7 +5,7 @@ run: linters: disable-all: true enable: - - exportloopref + - copyloopvar - errcheck - gci - goconst diff --git a/common_test.go b/common_test.go index 742d772..f6e6f54 100644 --- a/common_test.go +++ b/common_test.go @@ -186,5 +186,5 @@ func int642Bytes(i int64) []byte { } func bytes2Int64(buf []byte) int64 { - return int64(binary.BigEndian.Uint64(buf)) + return int64(binary.BigEndian.Uint64(buf)) //nolint:gosec } diff --git a/go.mod b/go.mod index 6c4041a..d5b699f 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/dgraph-io/badger/v4 v4.2.0 github.com/google/btree v1.1.2 github.com/jmhodges/levigo v1.0.0 - github.com/linxGnu/grocksdb v1.8.14 + github.com/linxGnu/grocksdb v1.9.3 github.com/stretchr/testify v1.9.0 github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca go.etcd.io/bbolt v1.3.10 diff --git a/go.sum b/go.sum index 83bef4d..fb01330 100644 --- a/go.sum +++ b/go.sum @@ -198,8 +198,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/linxGnu/grocksdb v1.8.14 h1:HTgyYalNwBSG/1qCQUIott44wU5b2Y9Kr3z7SK5OfGQ= -github.com/linxGnu/grocksdb v1.8.14/go.mod h1:QYiYypR2d4v63Wj1adOOfzglnoII0gLj3PNh4fZkcFA= +github.com/linxGnu/grocksdb v1.9.3 h1:s1cbPcOd0cU2SKXRG1nEqCOWYAELQjdqg3RVI2MH9ik= +github.com/linxGnu/grocksdb v1.9.3/go.mod h1:QYiYypR2d4v63Wj1adOOfzglnoII0gLj3PNh4fZkcFA= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= diff --git a/tools/Dockerfile b/tools/Dockerfile index af5be3a..c4f7ec8 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -18,7 +18,7 @@ RUN apt update \ libleveldb-dev libleveldb1d FROM build AS install -ARG ROCKSDB=8.11.3 +ARG ROCKSDB=9.3.1 # Install Rocksdb RUN \