SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
use github.com/linxGnu/grocksdb
chrislusf3ffbaaa0717b
diff --git a/go.mod b/go.modindex 8c7e88bd74..4f248e7eb7 100644--- a/go.mod+++ b/go.mod@@ -181,6 +181,7 @@ require (github.com/jcmturner/goidentity/v6 v6.0.1 // indirectgithub.com/jcmturner/rpc/v2 v2.0.2 // indirectgithub.com/leodido/go-urn v1.2.0 // indirect+ github.com/linxGnu/grocksdb v1.6.38 // indirectgithub.com/mattn/go-runewidth v0.0.7 // indirectgithub.com/miekg/dns v1.1.25-0.20191211073109-8ebf2e419df7 // indirectgithub.com/opentracing/opentracing-go v1.2.0 // indirectdiff --git a/weed/filer/rocksdb/rocksdb_store.go b/weed/filer/rocksdb/rocksdb_store.goindex 729da7d9ba..f48c3988cd 100644--- a/weed/filer/rocksdb/rocksdb_store.go+++ b/weed/filer/rocksdb/rocksdb_store.go@@ -10,7 +10,7 @@ import ("io""os"- "github.com/tecbot/gorocksdb"+ gorocksdb "github.com/linxGnu/grocksdb""github.com/chrislusf/seaweedfs/weed/filer""github.com/chrislusf/seaweedfs/weed/glog"diff --git a/weed/filer/rocksdb/rocksdb_ttl.go b/weed/filer/rocksdb/rocksdb_ttl.goindex faed223103..7e96430835 100644--- a/weed/filer/rocksdb/rocksdb_ttl.go+++ b/weed/filer/rocksdb/rocksdb_ttl.go@@ -5,7 +5,7 @@ package rocksdbimport ("time"- "github.com/tecbot/gorocksdb"+ gorocksdb "github.com/linxGnu/grocksdb""github.com/chrislusf/seaweedfs/weed/filer")@@ -38,3 +38,8 @@ func (t *TTLFilter) Filter(level int, key, val []byte) (remove bool, newVal []byfunc (t *TTLFilter) Name() string {return "TTLFilter"}+func (t *TTLFilter) SetIgnoreSnapshots(value bool) {+}++func (t *TTLFilter) Destroy() {+}