cubefs/vendor/github.com/tecbot/gorocksdb
xiejian 75bc515d0b fix(common): update kvstorev2
with: #22409822 of #22357426

Signed-off-by: xiejian <xiejian3@oppo.com>
2025-07-08 11:30:12 +08:00
..
.gitignore build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
.travis.yml build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
array.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
backup.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
cache.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
cf_handle.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
checkpoint.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
compaction_filter.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
comparator.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
cow.go feature: enable go mod and update vendor 2022-04-13 15:57:55 +08:00
db.go fix(common): update kvstorev2 2025-07-08 11:30:12 +08:00
dbpath.go init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
doc.go init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
dynflag.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
env.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
filter_policy.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
gorocksdb.c build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
gorocksdb.h init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
iterator.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
LICENSE init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
memory_usage.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
merge_operator.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
options_block_based_table.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
options_compaction.go init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
options_compression.go init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
options_env.go init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
options_flush.go init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
options_ingest.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
options_read.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
options_transaction.go init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
options_transactiondb.go feature: enable go mod and update vendor 2022-04-13 15:57:55 +08:00
options_write.go init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
options.go fix(common): update kvstorev2 2025-07-08 11:30:12 +08:00
ratelimiter.go fix(common): update kvstorev2 2025-07-08 11:30:12 +08:00
README.md build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
slice_transform.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
slice.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
snapshot.go init LICENSE file and vendor,util packet 2019-03-14 14:04:21 +08:00
sst_file_manager.go fix(common): update kvstorev2 2025-07-08 11:30:12 +08:00
sst_file_writer.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
staticflag_linux.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
transaction.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
transactiondb.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
util.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
wal_iterator.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
write_batch.go build: the build script of blobstore is merged into cubefs 2023-05-23 15:24:53 +08:00
write_buffer_manager.go fix(common): update kvstorev2 2025-07-08 11:30:12 +08:00

gorocksdb, a Go wrapper for RocksDB

Build Status GoDoc

Install

You'll need to build RocksDB v5.16+ on your machine.

After that, you can install gorocksdb using the following command:

CGO_CFLAGS="-I/path/to/rocksdb/include" \
CGO_LDFLAGS="-L/path/to/rocksdb -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd" \
  go get github.com/tecbot/gorocksdb

Please note that this package might upgrade the required RocksDB version at any moment. Vendoring is thus highly recommended if you require high stability.

The embedded CockroachDB RocksDB is no longer supported in gorocksdb.