| 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 ...
|
| b9afa1f2 | 11-Aug-2015 |
Chris Mumford <[email protected]> |
include <assert> -> <cassert>
Fixes reported public issue #280. |
| 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 ...
|
| 0b9a89f4 | 19-Sep-2013 |
David Grogan <[email protected]> |
Release LevelDB 1.14
Fix issues 200, 201
Also, * Fix link to bigtable paper in docs. * New sstables will have the file extension .ldb. .sst files will continue to be recognized. * When building for
Release LevelDB 1.14
Fix issues 200, 201
Also, * Fix link to bigtable paper in docs. * New sstables will have the file extension .ldb. .sst files will continue to be recognized. * When building for iOS, use xcrun to execute the compiler. This may affect issue 177.
show more ...
|
| 40768657 | 16-Oct-2012 |
Sanjay Ghemawat <[email protected]> |
Small fixes.
Details: * Fix shared library building. * Reorganize linking commands so flags like --as-needed can be passed. * C binding exports version numbers. * Fix small typos in documention. |
| 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 ...
|
| 075a35a6 | 30-May-2012 |
Sanjay Ghemawat <[email protected]> |
Remove static initializer; fix endian-ness detection; fix build on various platforms; improve android port speed.
Avoid static initializer by using a new portability interface for thread-safe lazy i
Remove static initializer; fix endian-ness detection; fix build on various platforms; improve android port speed.
Avoid static initializer by using a new portability interface for thread-safe lazy initialization. Custom ports will need to be extended to implement InitOnce/OnceType/LEVELDB_ONCE_INIT.
Fix endian-ness detection (fixes Powerpc builds).
Build related fixes: - Support platforms that have unversioned shared libraries. - Fix IOS build rules.
Android improvements - Speed up atomic pointers - Share more code with port_posix.
Do not spin in a tight loop attempting compactions if the file system is inaccessible (e.g., if kerberos tickets have expired or if it is out of space).
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 ...
|
| 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 ...
|
| 299ccedf | 05-Oct-2011 |
Gabor Cselle <[email protected]> |
A number of bugfixes:
- Added DB::CompactRange() method.
Changed manual compaction code so it breaks up compactions of big ranges into smaller compactions.
Changed the code that pushes the o
A number of bugfixes:
- Added DB::CompactRange() method.
Changed manual compaction code so it breaks up compactions of big ranges into smaller compactions.
Changed the code that pushes the output of memtable compactions to higher levels to obey the grandparent constraint: i.e., we must never have a single file in level L that overlaps too much data in level L+1 (to avoid very expensive L-1 compactions).
Added code to pretty-print internal keys.
- Fixed bug where we would not detect overlap with files in level-0 because we were incorrectly using binary search on an array of files with overlapping ranges.
Added "leveldb.sstables" property that can be used to dump all of the sstables and ranges that make up the db state.
- Removing post_write_snapshot support. Email to leveldb mailing list brought up no users, just confusion from one person about what it meant.
- Fixing static_cast char to unsigned on BIG_ENDIAN platforms.
Fixes Issue 35 and Issue 36.
- Comment clarification to address leveldb Issue 37.
- Change license in posix_logger.h to match other files.
- A build problem where uint32 was used instead of uint32_t.
Sync with upstream @24408625
show more ...
|
| ab323f7e | 16-Aug-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Bugfixes for iterator and documentation.
- Fix bug in Iterator::Prev where it would return the wrong key. Fixes issues 29 and 30.
- Added a tweak to testharness to allow running just some tests.
Bugfixes for iterator and documentation.
- Fix bug in Iterator::Prev where it would return the wrong key. Fixes issues 29 and 30.
- Added a tweak to testharness to allow running just some tests.
- Fixing two minor documentation errors based on issues 28 and 25.
- Cleanup; fix namespaces of export-to-C code. Also fix one "const char*" vs "char*" mismatch.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@48 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| 021ee9c3 | 05-Aug-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
C binding for leveldb, better readseq benchmark for SQLite.
- Added a C binding for LevelDB. May be useful as a stable ABI that can be used by programs that keep leveldb in a shared library,
C binding for leveldb, better readseq benchmark for SQLite.
- Added a C binding for LevelDB. May be useful as a stable ABI that can be used by programs that keep leveldb in a shared library, or for JNI API.
- Replaced SQLite's readseq benchmark to a more efficient version. SQLite readseq speeds increased by about a factor of 2x from the previous version. Also updated benchmark page to reflect readseq speed up.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@46 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| 1bfbe76b | 29-Jul-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Improved benchmark, fixed bugs and SQLite parameters.
- Based on suggestions on the sqlite-users mailing list, we removed the superfluous index on the primary key for SQLite's benchmarks, and t
Improved benchmark, fixed bugs and SQLite parameters.
- Based on suggestions on the sqlite-users mailing list, we removed the superfluous index on the primary key for SQLite's benchmarks, and turned write-ahead logging ("WAL") on. This led to performance improvements for SQLite.
- Based on a suggestion by Florian Weimer on the leveldb mailing list, we disabled hard drive write-caching via hdparm when testing synchronous writes. This led to performance losses for LevelDB and Kyoto TreeDB.
- Fixed a mistake in 2.A.->Random where the bar sizes were switched for Kyoto TreeDB and SQLite.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@45 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| b9ef9141 | 27-Jul-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Minor typos in benchmark page.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@44 62dab493-f737-651d-591e-8d6aee1b9529 |
| e8dee348 | 27-Jul-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Minor edit in benchmark page.
(Baseline comparison does not make sense for large values.)
git-svn-id: https://leveldb.googlecode.com/svn/trunk@43 62dab493-f737-651d-591e-8d6aee1b9529 |
| e301f17c | 27-Jul-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Adding doctype to benchmark page so Google Code displays it as HTML.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@41 62dab493-f737-651d-591e-8d6aee1b9529 |
| f122c6df | 27-Jul-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Adding FreeBSD support, removing Chromium files, adding benchmark.
- LevelDB patch for FreeBSD. This resolves Issue 22. Contributed by dforsythe (thanks!).
- Removing Chromium-specific files. T
Adding FreeBSD support, removing Chromium files, adding benchmark.
- LevelDB patch for FreeBSD. This resolves Issue 22. Contributed by dforsythe (thanks!).
- Removing Chromium-specific files. They are now going to live in the Chromium repository.
- Adding a benchmark page comparing LevelDB performance to SQLite and Kyoto Cabinet's TreeDB, along with code to generate the benchmarks. Thanks to Kevin Tseng for compiling the benchmarks, and Scott Hess and Mikio Hirabayashi for their help and advice.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@40 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 |
| 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 |
| e2da744e | 28-Mar-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Upstream changes.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@16 62dab493-f737-651d-591e-8d6aee1b9529 |
| e11bdf19 | 25-Mar-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Upstream changes
git-svn-id: https://leveldb.googlecode.com/svn/trunk@15 62dab493-f737-651d-591e-8d6aee1b9529 |