From b0da8788a1294714d90f2f0dd6918b00a100ef6f Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 29 May 2023 23:14:45 -0700 Subject: [PATCH] upgrade rocksdb versions --- docker/Dockerfile.rocksdb_dev_env | 2 +- docker/Dockerfile.rocksdb_large | 2 +- docker/Makefile | 2 +- go.mod | 2 +- go.sum | 2 ++ 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.rocksdb_dev_env b/docker/Dockerfile.rocksdb_dev_env index 095f7092a..68401d4b5 100644 --- a/docker/Dockerfile.rocksdb_dev_env +++ b/docker/Dockerfile.rocksdb_dev_env @@ -3,7 +3,7 @@ FROM golang:1.20-buster as builder RUN apt-get update RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev -ENV ROCKSDB_VERSION v7.5.3 +ENV ROCKSDB_VERSION v8.1.1 # build RocksDB RUN cd /tmp && \ diff --git a/docker/Dockerfile.rocksdb_large b/docker/Dockerfile.rocksdb_large index cff571f89..2b10c0102 100644 --- a/docker/Dockerfile.rocksdb_large +++ b/docker/Dockerfile.rocksdb_large @@ -3,7 +3,7 @@ FROM golang:1.20-buster as builder RUN apt-get update RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev -ENV ROCKSDB_VERSION v7.5.3 +ENV ROCKSDB_VERSION v8.1.1 # build RocksDB RUN cd /tmp && \ diff --git a/docker/Makefile b/docker/Makefile index b49f88f35..9e9d771c2 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -29,7 +29,7 @@ go_build_large_disk: build_rocksdb_dev_env: docker build --no-cache -t chrislusf/rocksdb_dev_env -f Dockerfile.rocksdb_dev_env . -build_rocksdb_local: +build_rocksdb_local: build_rocksdb_dev_env cd .. ; docker build --no-cache -t chrislusf/seaweedfs:rocksdb_local -f docker/Dockerfile.rocksdb_large_local . build_rocksdb: diff --git a/go.mod b/go.mod index 450fe951a..97a0ece64 100644 --- a/go.mod +++ b/go.mod @@ -62,7 +62,7 @@ require ( github.com/klauspost/reedsolomon v1.11.7 github.com/kurin/blazer v0.5.3 github.com/lib/pq v1.10.9 - github.com/linxGnu/grocksdb v1.7.16 + github.com/linxGnu/grocksdb v1.8.0 github.com/magiconair/properties v1.8.7 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-ieproxy v0.0.11 // indirect diff --git a/go.sum b/go.sum index 0f88732ec..a20b4d20c 100644 --- a/go.sum +++ b/go.sum @@ -1592,6 +1592,8 @@ github.com/linode/linodego v1.12.0/go.mod h1:NJlzvlNtdMRRkXb0oN6UWzUkj6t+IBsyveH github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo= github.com/linxGnu/grocksdb v1.7.16 h1:Q2co1xrpdkr5Hx3Fp+f+f7fRGhQFQhvi/+226dtLmA8= github.com/linxGnu/grocksdb v1.7.16/go.mod h1:JkS7pl5qWpGpuVb3bPqTz8nC12X3YtPZT+Xq7+QfQo4= +github.com/linxGnu/grocksdb v1.8.0 h1:H4L/LhP7GOMf1j17oQAElHgVlbEje2h14A8Tz9cM2BE= +github.com/linxGnu/grocksdb v1.8.0/go.mod h1:09CeBborffXhXdNpEcOeZrLKEnRtrZFEpFdPNI9Zjjg= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA=