rocksdb/util
Dhruba Borthakur cf5adc8016 db_bench was not correctly initializing the value for delete_obsolete_files_period_micros option.
Summary:
The parameter delete_obsolete_files_period_micros controls the
periodicity of deleting obsolete files. db_bench was reading in
this parameter intoa local variable called 'l' but was incorrectly
using another local variable called 'n' while setting it in the
db.options data structure.
This patch also logs the value of delete_obsolete_files_period_micros
in the LOG file at db startup time.

I am hoping that this will improve the overall write throughput drastically.

Test Plan: run db_bench

Reviewers: MarkCallaghan, heyongqiang

Reviewed By: MarkCallaghan

Differential Revision: https://reviews.facebook.net/D6099
2012-10-19 15:10:12 -07:00
..
arena_test.cc A number of fixes: 2011-10-31 17:22:06 +00:00
arena.cc A number of fixes: 2011-10-31 17:22:06 +00:00
arena.h A number of fixes: 2011-10-31 17:22:06 +00:00
bloom_test.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
bloom.cc bits_per_key is already configurable. It defines how many bloom bits will be used for every key in the database. 2012-07-09 23:06:07 -07:00
build_version.h Record the version of the source repository that was used to build the leveldb library. 2012-08-21 14:47:15 -07:00
cache_test.cc A number of fixes: 2011-10-31 17:22:06 +00:00
cache.cc Print the block cache size in the LOG. 2012-09-29 21:39:19 -07:00
coding_test.cc merge 1.5 2012-08-28 11:43:33 -07:00
coding.cc A number of fixes: 2011-10-31 17:22:06 +00:00
coding.h A number of fixes: 2011-10-31 17:22:06 +00:00
comparator.cc merge 1.5 2012-08-28 11:43:33 -07:00
crc32c_test.cc A number of fixes: 2011-10-31 17:22:06 +00:00
crc32c.cc SSE4 optimization 2012-05-15 10:10:01 -07:00
crc32c.h A number of fixes: 2011-10-31 17:22:06 +00:00
env_hdfs.cc Clean up compiler warnings generated by -Wall option. 2012-08-29 14:24:51 -07:00
env_posix.cc An configurable option to write data using write instead of mmap. 2012-10-03 17:08:13 -07:00
env_test.cc fixed issues 66 (leaking files on disk error) and 68 (no sync of CURRENT file) 2012-01-25 14:56:52 -08:00
env.cc fixed issues 66 (leaking files on disk error) and 68 (no sync of CURRENT file) 2012-01-25 14:56:52 -08:00
filelock_test.cc Prevent concurrent multiple opens of leveldb database. 2012-08-20 23:55:04 -07:00
filter_policy.cc Added bloom filter support. 2012-04-17 08:36:46 -07:00
hash.cc A number of fixes: 2011-10-31 17:22:06 +00:00
hash.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
histogram.cc A number of fixes: 2011-10-31 17:22:06 +00:00
histogram.h A number of fixes: 2011-10-31 17:22:06 +00:00
logging.cc A number of fixes: 2011-10-31 17:22:06 +00:00
logging.h A number of fixes: 2011-10-31 17:22:06 +00:00
murmurhash.cc Implement RowLocks for assoc schema 2012-10-03 23:19:01 -07:00
murmurhash.h Implement RowLocks for assoc schema 2012-10-03 23:19:01 -07:00
mutexlock.h Implement ReadWrite locks for leveldb 2012-10-01 22:37:39 -07:00
options.cc db_bench was not correctly initializing the value for delete_obsolete_files_period_micros option. 2012-10-19 15:10:12 -07:00
posix_logger.h A number of fixes: 2011-10-31 17:22:06 +00:00
random.h A number of fixes: 2011-10-31 17:22:06 +00:00
stats_logger.h Clean up compiler warnings generated by -Wall option. 2012-08-29 14:24:51 -07:00
status.cc A number of fixes: 2011-10-31 17:22:06 +00:00
testharness.cc A number of fixes: 2011-10-31 17:22:06 +00:00
testharness.h A number of fixes: 2011-10-31 17:22:06 +00:00
testutil.cc A number of fixes: 2011-10-31 17:22:06 +00:00
testutil.h A number of fixes: 2011-10-31 17:22:06 +00:00