aboutsummaryrefslogtreecommitdiff
path: root/include/leveldb/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/leveldb/options.h')
-rw-r--r--include/leveldb/options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/leveldb/options.h b/include/leveldb/options.h
index 7c9b973454..83a1ef39a4 100644
--- a/include/leveldb/options.h
+++ b/include/leveldb/options.h
@@ -128,6 +128,12 @@ struct Options {
// efficiently detect that and will switch to uncompressed mode.
CompressionType compression;
+ // EXPERIMENTAL: If true, append to existing MANIFEST and log files
+ // when a database is opened. This can significantly speed up open.
+ //
+ // Default: currently false, but may become true later.
+ bool reuse_logs;
+
// If non-NULL, use the specified filter policy to reduce disk reads.
// Many applications will benefit from passing the result of
// NewBloomFilterPolicy() here.