rocksdb/util
Naman Gupta cbf4a06427 Add option for storing transaction logs in a separate dir
Summary: In some cases, you might not want to store the data log (write ahead log) files in the same dir as the sst files. An example use case is leaf, which stores sst files in tmpfs. And would like to save the log files in a separate dir (disk) to save memory.

Test Plan: make all. Ran db_test test. A few test failing. P2785018. If you guys don't see an obvious problem with the code, maybe somebody from the rocksdb team could help me debug the issue here. Running this on leaf worked well. I could see logs stored on disk, and deleted appropriately after compactions. Obviously this is only one set of options. The unit tests cover different options. Seems like I'm missing some edge cases.

Reviewers: dhruba, haobo, leveldb

CC: xinyaohu, sumeet

Differential Revision: https://reviews.facebook.net/D13239
2013-10-08 17:40:27 -07:00
..
arena_impl.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
arena_impl.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
arena_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
auto_roll_logger_test.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
auto_roll_logger.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
auto_roll_logger.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
bit_set.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
bloom_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
bloom.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
build_version.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
cache_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
cache.cc Move delete and free outside of crtical section 2013-10-07 15:37:40 -07:00
coding_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
coding.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
coding.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
comparator.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
crc32c_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
crc32c.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
crc32c.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
env_hdfs.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
env_posix.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
env_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
env.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
filelock_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
filter_policy.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
hash.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
hash.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
histogram_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
histogram.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
histogram.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
ldb_cmd_execute_result.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
ldb_cmd.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
ldb_cmd.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
ldb_tool.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
logging.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
logging.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
manual_compaction_test.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
murmurhash.cc Implement RowLocks for assoc schema 2012-10-03 23:19:01 -07:00
murmurhash.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
mutexlock.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
options.cc Add option for storing transaction logs in a separate dir 2013-10-08 17:40:27 -07:00
perf_context_imp.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
perf_context.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
posix_logger.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
random.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
signal_test.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
skiplistrep.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
slice.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
stack_trace.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
statistics.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
stats_logger.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
status.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
stl_wrappers.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
stop_watch.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
string_util.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
string_util.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
testharness.cc Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
testharness.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
testutil.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
testutil.h Migrate names of properties from 'leveldb' prefix to 'rocksdb' prefix. 2013-10-06 00:14:26 -07:00
transformrep.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00
vectorrep.cc Change namespace from leveldb to rocksdb 2013-10-04 11:59:26 -07:00