Commit c34b1fcf authored by zhangjinpeng1987's avatar zhangjinpeng1987 Committed by GitHub

use rocksdb 5.6.1 (#106)

parent 130c764e
rust-rocksdb
============
This library has been tested against RocksDB 5.1.2 on Linux and macOS.
This library has been tested against RocksDB 5.6.1 on Linux and macOS.
### status
- [x] basic open/put/get/delete/close
......@@ -22,6 +22,8 @@ This library has been tested against RocksDB 5.1.2 on Linux and macOS.
- [x] recovery
- [x] backup
- [x] pause/continue background work
- [x] delete range
- [x] ingest external sst files
- [ ] windows support
Feedback and pull requests welcome! If a particular feature of RocksDB is important to you, please let us know by opening an issue, and we will prioritize it.
......
......@@ -43,12 +43,12 @@ dependencies:
fi
- make -f travis-build/Makefile prepare-rustfmt
- |
if [[ ! -e $HOME/.local/lib/librocksdb.so.5.5.1 ]]; then
if [[ ! -e $HOME/.local/lib/librocksdb.so.5.6.1 ]]; then
export CPLUS_INCLUDE_PATH="${LOCAL_PREFIX}/include" && \
cd /tmp && \
curl -L https://github.com/facebook/rocksdb/archive/v5.5.1.tar.gz -o rocksdb.tar.gz && \
curl -L https://github.com/facebook/rocksdb/archive/v5.6.1.tar.gz -o rocksdb.tar.gz && \
tar xf rocksdb.tar.gz && \
cd rocksdb-5.5.1 && \
cd rocksdb-5.6.1 && \
INSTALL_PATH=${LOCAL_PREFIX} make -j 1 install-shared;
fi
post:
......
......@@ -124,11 +124,11 @@ function compile_rocksdb() {
return
fi
version=v5.5.1
vernum=5.5.1
version=v5.6.1
vernum=5.6.1
echo building rocksdb-$version
rm -rf rocksdb rocksdb-$vernum
download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz d10fe596fe4c926ed3d68a8179f8edaa
download https://github.com/facebook/rocksdb/archive/$version.tar.gz rocksdb-$version.tar.gz 51ad34cbe2d161c3be8aa16a5ad81c3d
tar xf rocksdb-$version.tar.gz
wd=`pwd`
mv rocksdb-$vernum rocksdb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment