|
Revision tags: 1.23, 1.22, 1.21, v1.20, v1.19, v1.18, v1.17, v1.16, v1.15, v1.14, v1.13, v1.12, v1.11, v1.10, v1.9, v1.8, v1.7, v1.6, v1.5, v1.4 |
|
| #
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 ...
|
|
Revision tags: v1.3 |
|
| #
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 ...
|
| #
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
|
| #
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
|
| #
4671a695 |
| 30-Mar-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Move include files into a leveldb subdir.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@18 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
|
| #
f67e15e5 |
| 18-Mar-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Initial checkin.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@2 62dab493-f737-651d-591e-8d6aee1b9529
|