| 7fa20948 | 01-Mar-2017 |
cmumford <[email protected]> |
Convert documentation to markdown.
Markdown is more readable in a text editor and when hosted on GitHub is more readable than HTML.
------------- Created by MOE: https://github.com/google/moe MOE_M
Convert documentation to markdown.
Markdown is more readable in a text editor and when hosted on GitHub is more readable than HTML.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=148830423
show more ...
|
| fa6dc010 | 27-May-2016 |
sanjay <[email protected]> |
A zippy change broke test assumptions about the size of compressed output. Fix the tests by allowing more slop in zippy's behavior. ------------- Created by MOE: https://github.com/google/moe MOE_MIG
A zippy change broke test assumptions about the size of compressed output. Fix the tests by allowing more slop in zippy's behavior. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123432472
show more ...
|
| a7bff697 | 15-Apr-2016 |
John Abd-El-Malek <[email protected]> |
Fix LevelDB build when asserts are enabled in release builds. (#367)
* Fix LevelDB build when asserts are enabled in release builds.
BUG=https://bugs.chromium.org/p/chromium/issues/detail?id=6031
Fix LevelDB build when asserts are enabled in release builds. (#367)
* Fix LevelDB build when asserts are enabled in release builds.
BUG=https://bugs.chromium.org/p/chromium/issues/detail?id=603166
* fix
* Add comment
show more ...
|
| 32113439 | 30-Jan-2016 |
cmumford <[email protected]> |
Deleted redundant null ptr check prior to delete.
Fixes issue #338. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=113439460 |
| 50e77a82 | 19-Aug-2015 |
pkasting <[email protected]> |
Fix size_t/int comparison/conversion issues in leveldb.
The create function took |num_keys| as an int, but callers and implementers wanted it to function as a size_t (e.g. passing std::vector::size(
Fix size_t/int comparison/conversion issues in leveldb.
The create function took |num_keys| as an int, but callers and implementers wanted it to function as a size_t (e.g. passing std::vector::size() in, passing it to vector constructors as a size arg, indexing containers by it, etc.). This resulted in implicit conversions between the two types as well as warnings (found with Chromium's external copy of these sources, built with MSVC) about signed vs. unsigned comparisons.
The leveldb sources were already widely using size_t elsewhere, e.g. for key and filter lengths, so using size_t here is not inconsistent with the existing code. However, it does change the public C API. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=101074871
show more ...
|
| a75d435d | 11-Dec-2014 |
Chris Mumford <[email protected]> |
Clean up layering of storage/leveldb/...
With these changes, this package should be properly cleaned up and not require any further changes. |
| 803d6920 | 16-Sep-2014 |
Chris Mumford <[email protected]> |
Release 1.18
Changes are:
* Update version number to 1.18 * Replace the basic fprintf call with a call to fwrite in order to work around the apparent compiler optimization/rewrite failure that we
Release 1.18
Changes are:
* Update version number to 1.18 * Replace the basic fprintf call with a call to fwrite in order to work around the apparent compiler optimization/rewrite failure that we are seeing with the new toolchain/iOS SDKs provided with Xcode6 and iOS8. * Fix ALL the header guards. * Createed a README.md with the LevelDB project description. * A new CONTRIBUTING file. * Don't implicitly convert uint64_t to size_t or int. Either preserve it as uint64_t, or explicitly cast. This fixes MSVC warnings about possible value truncation when compiling this code in Chromium. * Added a DumpFile() library function that encapsulates the guts of the "leveldbutil dump" command. This will allow clients to dump data to their log files instead of stdout. It will also allow clients to supply their own environment. * leveldb: Remove unused function 'ConsumeChar'. * leveldbutil: Remove unused member variables from WriteBatchItemPrinter. * OpenBSD, NetBSD and DragonflyBSD have _LITTLE_ENDIAN, so define PLATFORM_IS_LITTLE_ENDIAN like on FreeBSD. This fixes: * issue #143 * issue #198 * issue #249 * Switch from <cstdatomic> to <atomic>. The former never made it into the standard and doesn't exist in modern gcc versions at all. The later contains everything that leveldb was using from the former. This problem was noticed when porting to Portable Native Client where no memory barrier is defined. The fact that <cstdatomic> is missing normally goes unnoticed since memory barriers are defined for most architectures. * Make Hash() treat its input as unsigned. Before this change LevelDB files from platforms with different signedness of char were not compatible. This change fixes: issue #243 * Verify checksums of index/meta/filter blocks when paranoid_checks set. * Invoke all tools for iOS with xcrun. (This was causing problems with the new XCode 5.1.1 image on pulse.) * include <sys/stat.h> only once, and fix the following linter warning: "Found C system header after C++ system header" * When encountering a corrupted table file, return Status::Corruption instead of Status::InvalidArgument. * Support cygwin as build platform, patch is from https://code.google.com/p/leveldb/issues/detail?id=188 * Fix typo, merge patch from https://code.google.com/p/leveldb/issues/detail?id=159 * Fix typos and comments, and address the following two issues: * issue #166 * issue #241 * Add missing db synchronize after "fillseq" in the benchmark. * Removed unused variable in SeekRandom: value (issue #201)
show more ...
|
| 0cfb990d | 10-Dec-2013 |
David Grogan <[email protected]> |
Release LevelDB 1.15
- switched from mmap based writing to simpler stdio based writing. Has a minor impact (0.5 microseconds) on microbenchmarks for asynchronous writes. Synchronous writes speed
Release LevelDB 1.15
- switched from mmap based writing to simpler stdio based writing. Has a minor impact (0.5 microseconds) on microbenchmarks for asynchronous writes. Synchronous writes speed up from 30ms to 10ms on linux/ext4. Should be much more reliable on diverse platforms. - compaction errors now immediately put the database into a read-only mode (until it is re-opened). As a downside, a disk going out of space and then space being created will require a re-open to recover from, whereas previously that would happen automatically. On the plus side, many corruption possibilities go away. - force the DB to enter an error-state so that all future writes fail when a synchronous log write succeeds but the sync fails. - repair now regenerates sstables that exhibit problems - fix issue 218 - Use native memory barriers on OSX - fix issue 212 - QNX build is broken - fix build on iOS with xcode 5 - make tests compile and pass on windows
show more ...
|
| 28dad918 | 14-May-2013 |
David Grogan <[email protected]> |
Release leveldb 1.10
Fixes issues 147 - thanks feniksgordonfreeman 153 156 166
Additionally, * Remove calls to exit(1). * Fix unused-variable warnings from clang. * Fix possible overflow error rela
Release leveldb 1.10
Fixes issues 147 - thanks feniksgordonfreeman 153 156 166
Additionally, * Remove calls to exit(1). * Fix unused-variable warnings from clang. * Fix possible overflow error related to num_restart value >= (2^32/4). * Add leveldbutil to .gitignore. * Add better log messages when Write is stalled on a compaction.
show more ...
|
| 946e5b5a | 12-Oct-2012 |
David Grogan <[email protected]> |
Update to leveldb 1.6
Highlights ---------- Mmap at most 1000 files on Posix to improve performance for large databases. Support for more architectures (thanks to Alexander K.)
Building and porting
Update to leveldb 1.6
Highlights ---------- Mmap at most 1000 files on Posix to improve performance for large databases. Support for more architectures (thanks to Alexander K.)
Building and porting -------------------- HP/UX support (issue 126) AtomicPointer for ia64 (issue 123) Sparc v9 support (issue 124) Atomic ops for powerpc Use -fno-builtin-memcmp only when using g++ Simplify IOS build rules (issue 114) Use CXXFLAGS instead of CFLAGS when invoking C++ compiler (issue 118) Fix snappy shared library problem (issue 94) Fix shared library installation path regression Endian-ness detection tweak for FreeBSD
Bug fixes --------- Stop ignoring FLAGS_open_files in db_bench Make bloom test behavior agnostic to endian-ness
Performance ----------- Limit number of mmapped files to 1000 to improve perf for large dbs Do not delay for 1 second on shutdown path (issue 125)
Misc ---- Make InMemoryEnv return a no-op logger C binding now has a wrapper for free (issue 117) Add thread-safety annotations Added an in-process lock table (issue 120) Make RandomAccessFile and SequentialFile non-copyable
show more ...
|
| 85584d49 | 17-Apr-2012 |
Sanjay Ghemawat <[email protected]> |
Added bloom filter support.
In particular, we add a new FilterPolicy class. An instance of this class can be supplied in Options when opening a database. If supplied, the instance is used to gener
Added bloom filter support.
In particular, we add a new FilterPolicy class. An instance of this class can be supplied in Options when opening a database. If supplied, the instance is used to generate summaries of keys (e.g., a bloom filter) which are placed in sstables. These summaries are consulted by DB::Get() so we can avoid reading sstable blocks that are guaranteed to not contain the key we are looking for.
This change provides one implementation of FilterPolicy based on bloom filters.
Other changes: - Updated version number to 1.4. - Some build tweaks. - C binding for CompactRange. - A few more benchmarks: deleteseq, deleterandom, readmissing, seekrandom. - Minor .gitignore update.
show more ...
|
| 9013f13b | 15-Mar-2012 |
Sanjay Ghemawat <[email protected]> |
use mmap on 64-bit machines to speed-up reads; small build fixes |
| 36a5f8ed | 31-Oct-2011 |
Hans Wennborg <[email protected]> |
A number of fixes:
- Replace raw slice comparison with a call to user comparator. Added test for custom comparators.
- Fix end of namespace comments.
- Fixed bug in picking inputs for a level-0
A number of fixes:
- Replace raw slice comparison with a call to user comparator. Added test for custom comparators.
- Fix end of namespace comments.
- Fixed bug in picking inputs for a level-0 compaction.
When finding overlapping files, the covered range may expand as files are added to the input set. We now correctly expand the range when this happens instead of continuing to use the old range. For example, suppose L0 contains files with the following ranges:
F1: a .. d F2: c .. g F3: f .. j
and the initial compaction target is F3. We used to search for range f..j which yielded {F2,F3}. However we now expand the range as soon as another file is added. In this case, when F2 is added, we expand the range to c..j and restart the search. That picks up file F1 as well.
This change fixes a bug related to deleted keys showing up incorrectly after a compaction as described in Issue 44.
(Sync with upstream @25072954)
show more ...
|
| 60bd8015 | 21-Jul-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Speed up Snappy uncompression, new Logger interface.
- Removed one copy of an uncompressed block contents changing the signature of Snappy_Uncompress() so it uncompresses into a flat array inste
Speed up Snappy uncompression, new Logger interface.
- Removed one copy of an uncompressed block contents changing the signature of Snappy_Uncompress() so it uncompresses into a flat array instead of a std::string. Speeds up readrandom ~10%.
- Instead of a combination of Env/WritableFile, we now have a Logger interface that can be easily overridden applications that want to supply their own logging.
- Separated out the gcc and Sun Studio parts of atomic_pointer.h so we can use 'asm', 'volatile' keywords for Sun Studio.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@39 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| 6872ace9 | 19-Jul-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Sun Studio support, and fix for test related memory fixes.
- LevelDB patch for Sun Studio Based on a patch submitted by Theo Schlossnagle - thanks! This fixes Issue 17.
- Fix a couple of test r
Sun Studio support, and fix for test related memory fixes.
- LevelDB patch for Sun Studio Based on a patch submitted by Theo Schlossnagle - thanks! This fixes Issue 17.
- Fix a couple of test related memory leaks.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@38 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| ccf0fcd5 | 22-Jun-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
A number of smaller fixes and performance improvements:
- Implemented Get() directly instead of building on top of a full merging iterator stack. This speeds up the "readrandom" benchmark by up
A number of smaller fixes and performance improvements:
- Implemented Get() directly instead of building on top of a full merging iterator stack. This speeds up the "readrandom" benchmark by up to 15-30%.
- Fixed an opensource compilation problem. Added --db=<name> flag to control where the database is placed.
- Automatically compact a file when we have done enough overlapping seeks to that file.
- Fixed a performance bug where we would read from at least one file in a level even if none of the files overlapped the key being read.
- Makefile fix for Mac OSX installations that have XCode 4 without XCode 3.
- Unified the two occurrences of binary search in a file-list into one routine.
- Found and fixed a bug where we would unnecessarily search the last file when looking for a key larger than all data in the level.
- A fix to avoid the need for trivial move compactions and therefore gets rid of two out of five syncs in "fillseq".
- Removed the MANIFEST file write when switching to a new memtable/log-file for a 10-20% improvement on fill speed on ext4.
- Adding a SNAPPY setting in the Makefile for folks who have Snappy installed. Snappy compresses values and speeds up writes.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@32 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| c4f55149 | 02-Jun-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
sync with upstream @21627589
Minor changes: * Reformat the bodies of the iterator interface routines in IteratorWrapper to make them a bit easier to read * Switched the default in the leveldb make
sync with upstream @21627589
Minor changes: * Reformat the bodies of the iterator interface routines in IteratorWrapper to make them a bit easier to read * Switched the default in the leveldb makefile to be optimized mode, rather than debug mode * Fix build problem in chromium port
git-svn-id: https://leveldb.googlecode.com/svn/trunk@30 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| 740d8b3d | 28-May-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Update from upstream @21551990
* Patch LevelDB to build for OSX and iOS * Fix race condition in memtable iterator deletion. * Other small fixes.
git-svn-id: https://leveldb.googlecode.com/svn/trunk
Update from upstream @21551990
* Patch LevelDB to build for OSX and iOS * Fix race condition in memtable iterator deletion. * Other small fixes.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@29 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| da799095 | 21-May-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
sync with upstream @ 21409451
Check the NEWS file for details of what changed.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@28 62dab493-f737-651d-591e-8d6aee1b9529 |
| ccb2cbef | 20-Apr-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
fix build on at least linux
git-svn-id: https://leveldb.googlecode.com/svn/trunk@25 62dab493-f737-651d-591e-8d6aee1b9529 |
| ba6dac0e | 20-Apr-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
@20776309 * env_chromium.cc should not export symbols. * Fix MSVC warnings. * Removed large value support. * Fix broken reference to documentation file
git-svn-id: https://leveldb.googlecode.com/svn
@20776309 * env_chromium.cc should not export symbols. * Fix MSVC warnings. * Removed large value support. * Fix broken reference to documentation file
git-svn-id: https://leveldb.googlecode.com/svn/trunk@24 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| 69c6d383 | 19-Apr-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
reverting disastrous MOE commit, returning to r21
git-svn-id: https://leveldb.googlecode.com/svn/trunk@23 62dab493-f737-651d-591e-8d6aee1b9529 |
| b743906e | 19-Apr-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Revision created by MOE tool push_codebase. MOE_MIGRATION=
git-svn-id: https://leveldb.googlecode.com/svn/trunk@22 62dab493-f737-651d-591e-8d6aee1b9529 |
| b409afe9 | 18-Apr-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
chmod a-x
git-svn-id: https://leveldb.googlecode.com/svn/trunk@21 62dab493-f737-651d-591e-8d6aee1b9529 |
| f779e7a5 | 12-Apr-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
@20602303. Default file permission is now 755.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@20 62dab493-f737-651d-591e-8d6aee1b9529 |