diff options
author | David Grogan <dgrogan@chromium.org> | 2013-08-21 11:12:47 -0700 |
---|---|---|
committer | David Grogan <dgrogan@chromium.org> | 2013-08-21 11:12:47 -0700 |
commit | 748539c183453bdeaff1eb0da8ccf5adacb796e7 (patch) | |
tree | 6a1712798e5cc172b79e1113d9c1a0fc93496fa7 /db/dbformat.h | |
parent | 5bd76dc10d840df23255ba0e635083a2a94e0461 (diff) | |
download | leveldb-748539c183453bdeaff1eb0da8ccf5adacb796e7.tar.gz |
LevelDB 1.13v1.13
Fix issues 77, 87, 182, 190.
Additionally, fix the bug described in
https://groups.google.com/d/msg/leveldb/yL6h1mAOc20/vLU64RylIdMJ
where a large contiguous keyspace of deleted data was not getting
compacted.
Also fix a bug where options.max_open_files was not getting clamped
properly.
Diffstat (limited to 'db/dbformat.h')
-rw-r--r-- | db/dbformat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/dbformat.h b/db/dbformat.h index f7f64da..5d8a032 100644 --- a/db/dbformat.h +++ b/db/dbformat.h @@ -38,6 +38,9 @@ static const int kL0_StopWritesTrigger = 12; // space if the same key space is being repeatedly overwritten. static const int kMaxMemCompactLevel = 2; +// Approximate gap in bytes between samples of data read during iteration. +static const int kReadBytesPeriod = 1048576; + } // namespace config class InternalKey; |