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 \