https://github.com/facebook/rocksdb
Revision a683d4aba9c1ba230248fc985b26208ee81bbc63 authored by Andrew Kryczka on 10 June 2016, 00:53:03 UTC, committed by Andrew Kryczka on 10 June 2016, 00:53:03 UTC
Summary:
Added an option, --env_uri. When provided, it is used as an argument to
NewEnvFromUri(), which instantiates an Env based on it.

Test Plan:
built a simple binary that registers ChrootEnv for prefix "/", then
ran:

  $ ./tmp --env_uri /tmp/ --db /abcde

/tmp/ is the chroot directory and /abcde is the db_name. Then I verified
db_bench uses /tmp/abcde

Reviewers: sdong, kradhakrishnan, lightmark

Reviewed By: lightmark

Subscribers: andrewkr, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D59325
1 parent 53a4bd8
History
Tip revision: a683d4aba9c1ba230248fc985b26208ee81bbc63 authored by Andrew Kryczka on 10 June 2016, 00:53:03 UTC
URI-based Env selection for db_bench
Tip revision: a683d4a
File Mode Size
arcanist_util
build_tools
coverage
db
doc
examples
hdfs
include
java
memtable
port
table
third-party
tools
util
utilities
.arcconfig -rw-r--r-- 564 bytes
.clang-format -rw-r--r-- 138 bytes
.gitignore -rw-r--r-- 631 bytes
.travis.yml -rw-r--r-- 1.8 KB
AUTHORS -rw-r--r-- 247 bytes
CMakeLists.txt -rw-r--r-- 17.6 KB
CONTRIBUTING.md -rw-r--r-- 733 bytes
DEFAULT_OPTIONS_HISTORY.md -rw-r--r-- 1.1 KB
DUMP_FORMAT.md -rw-r--r-- 763 bytes
HISTORY.md -rw-r--r-- 33.6 KB
INSTALL.md -rw-r--r-- 3.9 KB
LANGUAGE-BINDINGS.md -rw-r--r-- 596 bytes
LICENSE -rw-r--r-- 1.6 KB
Makefile -rw-r--r-- 45.7 KB
PATENTS -rw-r--r-- 1.9 KB
README.md -rw-r--r-- 1.2 KB
ROCKSDB_LITE.md -rw-r--r-- 1.0 KB
USERS.md -rw-r--r-- 3.4 KB
Vagrantfile -rw-r--r-- 862 bytes
WINDOWS_PORT.md -rw-r--r-- 12.5 KB
appveyor.yml -rw-r--r-- 524 bytes
src.mk -rw-r--r-- 21.9 KB
thirdparty.inc -rw-r--r-- 7.8 KB

README.md

back to top