leveldb/util
gabor@google.com 6699c7ebe6 Small tweaks and bugfixes for Issue 18 and 19.
Slight tweak to the no-overlap optimization: only push to
level 2 to reduce the amount of wasted space when the same
small key range is being repeatedly overwritten.

Fix for Issue 18: Avoid failure on Windows by avoiding
deletion of lock file until the end of DestroyDB().

Fix for Issue 19: Disregard sequence numbers when checking for 
overlap in sstable ranges. This fixes issue 19: when writing 
the same key over and over again, we would generate a sequence 
of sstables that were never merged together since their sequence
numbers were disjoint.

Don't ignore map/unmap error checks.

Miscellaneous fixes for small problems Sanjay found while diagnosing
issue/9 and issue/16 (corruption_testr failures).
- log::Reader reports the record type when it finds an unexpected type.
- log::Reader no longer reports an error when it encounters an expected
  zero record regardless of the setting of the "checksum" flag.
- Added a missing forward declaration.
- Documented a side-effects of larger write buffer sizes
  (longer recovery time).



git-svn-id: https://leveldb.googlecode.com/svn/trunk@37 62dab493-f737-651d-591e-8d6aee1b9529
2011-07-15 00:20:57 +00:00
..
arena_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
arena.cc @20776309 2011-04-20 22:48:11 +00:00
arena.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
cache_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
cache.cc Platform detection during build, plus compatibility patches for machines without <cstdatomic>. 2011-06-29 00:30:50 +00:00
coding_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
coding.cc @20776309 2011-04-20 22:48:11 +00:00
coding.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
comparator.cc @20776309 2011-04-20 22:48:11 +00:00
crc32c_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
crc32c.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
crc32c.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
env_chromium.cc sync with upstream @ 21409451 2011-05-21 02:17:43 +00:00
env_posix.cc Small tweaks and bugfixes for Issue 18 and 19. 2011-07-15 00:20:57 +00:00
env_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
env.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
hash.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
hash.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
histogram.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
histogram.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
logging.cc @20776309 2011-04-20 22:48:11 +00:00
logging.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
mutexlock.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
options.cc @20776309 2011-04-20 22:48:11 +00:00
random.h @20776309 2011-04-20 22:48:11 +00:00
status.cc sync with upstream @ 21409451 2011-05-21 02:17:43 +00:00
testharness.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
testharness.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
testutil.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
testutil.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00