mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
8d007b4aaf
Summary: (1) Fix SanitizeOptions() to also check HashLinkList. The current dynamic case just happens to work because the 2 classes have the same layout. (2) Do not delete SliceTransform object in HashSkipListFactory and HashLinkListFactory destructor. Reason: SanitizeOptions() enforces prefix_extractor and SliceTransform to be the same object when Hash**Factory is used. This makes the behavior strange: when Hash**Factory is used, prefix_extractor will be released by RocksDB. If other memtable factory is used, prefix_extractor should be released by user. Test Plan: db_bench && make asan_check Reviewers: haobo, igor, sdong Reviewed By: igor CC: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D16587 |
||
---|---|---|
.. | ||
arena.cc | ||
arena.h | ||
arena_test.cc | ||
auto_roll_logger.cc | ||
auto_roll_logger.h | ||
auto_roll_logger_test.cc | ||
autovector.h | ||
autovector_test.cc | ||
bit_set.h | ||
blob_store.cc | ||
blob_store.h | ||
blob_store_test.cc | ||
bloom.cc | ||
bloom_test.cc | ||
build_version.h | ||
cache.cc | ||
cache_test.cc | ||
coding.cc | ||
coding.h | ||
coding_test.cc | ||
comparator.cc | ||
crc32c.cc | ||
crc32c.h | ||
crc32c_test.cc | ||
dynamic_bloom.cc | ||
dynamic_bloom.h | ||
dynamic_bloom_test.cc | ||
env.cc | ||
env_hdfs.cc | ||
env_posix.cc | ||
env_test.cc | ||
filelock_test.cc | ||
filter_policy.cc | ||
hash.cc | ||
hash.h | ||
hash_linklist_rep.cc | ||
hash_linklist_rep.h | ||
hash_skiplist_rep.cc | ||
hash_skiplist_rep.h | ||
histogram.cc | ||
histogram.h | ||
histogram_test.cc | ||
ldb_cmd.cc | ||
ldb_cmd.h | ||
ldb_cmd_execute_result.h | ||
ldb_tool.cc | ||
log_buffer.cc | ||
log_buffer.h | ||
log_write_bench.cc | ||
logging.cc | ||
logging.h | ||
manual_compaction_test.cc | ||
murmurhash.cc | ||
murmurhash.h | ||
mutexlock.h | ||
options.cc | ||
perf_context.cc | ||
perf_context_imp.h | ||
posix_logger.h | ||
random.h | ||
signal_test.cc | ||
skiplistrep.cc | ||
slice.cc | ||
stack_trace.h | ||
statistics.cc | ||
statistics.h | ||
stats_logger.h | ||
status.cc | ||
stl_wrappers.h | ||
stop_watch.h | ||
string_util.cc | ||
string_util.h | ||
testharness.cc | ||
testharness.h | ||
testutil.cc | ||
testutil.h | ||
thread_local.cc | ||
thread_local.h | ||
thread_local_test.cc | ||
vectorrep.cc |