Revision d1aaaf718c04e87eb3599744eb850d8f30134323 authored by Dhruba Borthakur on 21 May 2013, 18:37:06 UTC, committed by Dhruba Borthakur on 21 May 2013, 20:50:20 UTC
Summary: There is an existing field Options.max_bytes_for_level_multiplier that sets the multiplier for the size of each level in the database. This patch introduces the ability to set different multipliers for every level in the database. The size of a level is determined by using both max_bytes_for_level_multiplier as well as the per-level fanout. size of level[i] = size of level[i-1] * max_bytes_for_level_multiplier * fanout[i-1] The default value of fanout is 1, so that it is backward compatible. Test Plan: make check Reviewers: haobo, emayanke Reviewed By: emayanke CC: leveldb Differential Revision: https://reviews.facebook.net/D10863
1 parent c3c13db
File | Mode | Size |
---|---|---|
VALGRIND_LOGS | ||
db | ||
doc | ||
hdfs | ||
helpers | ||
include | ||
java | ||
linters | ||
port | ||
scribe | ||
snappy | ||
table | ||
thrift | ||
tools | ||
util | ||
utilities | ||
.arcconfig | -rw-r--r-- | 243 bytes |
.gitignore | -rw-r--r-- | 174 bytes |
LICENSE | -rw-r--r-- | 1.4 KB |
Makefile | -rw-r--r-- | 11.4 KB |
README | -rw-r--r-- | 2.2 KB |
README.fb | -rw-r--r-- | 98 bytes |
build_detect_platform | -rwxr-xr-x | 8.9 KB |
build_detect_version | -rwxr-xr-x | 1.2 KB |
build_java.sh | -rwxr-xr-x | 1.9 KB |
e | -rw-r--r-- | 51 bytes |
fbcode.clang31.sh | -rw-r--r-- | 3.1 KB |
fbcode.gcc471.sh | -rw-r--r-- | 2.9 KB |
regression_build_test.sh | -rwxr-xr-x | 2.3 KB |
valgrind_test.sh | -rwxr-xr-x | 428 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...