Kresten Krab Thorup
eab04ff91f
Fix 2i/transact w/new expiry code
...
The new expiry code changed per-entry time stamp
from being the write-time to be the expiry-time.
This change in semantics was not reflected in the
code pertaining to hanoidb:transact, and so all
entries written with 2i would be immediately
expired.
2012-09-10 00:07:38 +02:00
Gregory Burd
504f43ddaf
Merge pull request #8 from krestenkrab/master
...
Fix merge strategy predictable
2012-07-31 13:47:26 -07:00
Kresten Krab Thorup
ef64425af3
Only keep merged < level-size at last level
...
The previous fix introduced the issue, that we
might observe a level that never gets merged,
and thus some values may never be evicted.
2012-07-31 21:10:51 +02:00
Kresten Krab Thorup
166a127a43
Fix predictable strategy
...
In the case where a merge results in an output
file that fits in the current level, we will
normally just leave it here; but with if said
level already has a C-file, then we will not
see enough merge steps to actually finish merging
in time.
2012-07-31 15:24:58 +02:00
Gregory Burd
e59c3d7add
Avoid name collisions and do some other minor cleanup.
2012-07-24 16:39:28 -04:00
Gregory Burd
edf083e156
Bump the version
2012-07-24 10:43:04 -04:00
Gregory Burd
f324972cdd
Cleanup compiler warnings and remove (for now) the predictable strategy as it has some issues to be worked out.
2012-07-24 10:42:53 -04:00
Gregory Burd
67f8f2afbc
Consoladate two 99.9% identical functions into one.
2012-07-24 10:41:37 -04:00
Gregory Burd
38307c657e
Ignore some more
2012-07-24 10:40:35 -04:00
Gregory Burd
052e545eea
Formatting
2012-07-19 11:47:36 -04:00
Gregory Burd
5b7a0e159c
Fix type-o
2012-07-19 11:47:18 -04:00
Gregory Burd
b92e9cb814
Prevent overly aggresive merges and use a specific compression method.
2012-07-18 12:42:14 -04:00
Gregory Burd
1c82b632b7
This will live in the basho_bench repo in a hanoidb branch.
2012-07-18 12:41:25 -04:00
Gregory Burd
3ae16aafa2
Add a basho_bench driver example config.
2012-07-18 07:53:31 -04:00
Gregory Burd
d46fd077ed
Eliminate more compiler warnings.
2012-07-17 18:38:59 -04:00
Gregory Burd
8a53ed0cd5
Always write a bloom filter, even when empty, just to avoid over complicating
...
things. Reuse the incremental merge trigger when closing the nursery file.
2012-07-17 17:00:52 -04:00
Gregory Burd
9d145ecdb1
Minor changes.
2012-07-17 16:57:45 -04:00
Gregory Burd
4e9ddbe65c
Minor change
2012-07-17 16:54:51 -04:00
Gregory Burd
ce8982c79c
Finished the cleanup and integration of an erlang bloom implementation.
2012-07-12 16:54:15 -04:00
Gregory Burd
95082bd4d3
Formatting
2012-07-12 13:17:04 -04:00
Gregory Burd
0f3c649f80
Some naming changes and more specific types in read/write path.
2012-06-25 14:27:42 +05:30
Gregory Burd
3140f9f281
Cleanup
2012-06-25 11:55:07 +05:30
Gregory Burd
db243b9794
Don't bother writing out the bloom filter when a level is empty, instead just write 0 for the bloom size and before that record the level's filter size so as to re-create a properly sized filter later when reading this file.
2012-06-25 11:54:38 +05:30
Gregory Burd
59282eaf2a
Calculate the header size
2012-06-25 11:52:02 +05:30
Gregory Burd
7ab09f5983
Cleanup
2012-06-25 07:27:00 +05:30
Gregory Burd
ba068a3175
Consider the nursery full when it is just below the threshold so we don't overflow the bloom filter.
2012-06-25 07:26:29 +05:30
Gregory Burd
5efb09a5f3
Formatting, whitespace.
2012-06-25 07:24:46 +05:30
Gregory Burd
c46b99956d
WIP: more cleanup
2012-06-24 21:40:31 +05:30
Gregory Burd
848ea1e976
Use a more accurate bloom (larger)
2012-06-24 21:40:18 +05:30
Gregory Burd
244aeb0f0b
Arguments were reversed.
2012-06-24 21:39:41 +05:30
Gregory Burd
b67d1f8449
WIP: sitll fixing things.
2012-06-24 17:16:42 +05:30
Gregory Burd
246e891d01
WIP: another bug
2012-06-23 16:06:49 +01:00
Gregory Burd
4bcd4b5de1
WIP: more bugs fixed, closer to working again...
2012-06-23 15:56:53 +01:00
Gregory Burd
102c518269
WIP: still chasing the bug...
2012-06-23 09:38:03 +01:00
Gregory Burd
a79dde264f
WIP
2012-06-22 16:39:10 +01:00
Gregory Burd
d0245c85c0
Oops, I left a merge in.
2012-06-22 10:53:04 +01:00
Gregory Burd
9eabb78d06
WIP: still sorting out some bugs I've introduced (just for fun).
2012-06-22 10:48:22 +01:00
Gregory Burd
c9d8ffa8ea
WIP
2012-06-21 23:12:32 +01:00
Gregory Burd
39d06fb29d
Whitespace
2012-06-19 23:00:18 +01:00
Steve Vinoski
538518045c
fix badmatch
2012-06-19 14:30:11 -04:00
Gregory Burd
fe73e4a48b
WIP: working toward fixing the blocking fold test
2012-06-19 15:03:42 +01:00
Gregory Burd
32de0e4f7a
Update to 1.1.0
2012-06-19 15:02:10 +01:00
Gregory Burd
0cb8d6a86b
Make eunit a bit more noisy, add more structure and debug config.
2012-06-19 15:01:50 +01:00
Gregory Burd
8f8cda0776
Remove pices related to Riak, clean up other things.
2012-06-19 15:00:48 +01:00
Gregory Burd
30fd2ded4c
Cleanup
2012-06-19 15:00:06 +01:00
Gregory Burd
bfdb63094f
Remove Riak-specific integration code. Deliver it later as a separate repo.
2012-06-19 11:15:29 +01:00
Gregory Burd
fb01a7dd29
Improve tests.
2012-06-14 18:15:47 +01:00
Gregory Burd
95a133c7cc
Centralize file format version tag.
2012-06-14 18:15:33 +01:00
Gregory Burd
fee95b9d62
Don't depend on lager
2012-06-14 18:14:51 +01:00
Gregory Burd
49604c77d9
Whitespace, comments, etc.
2012-06-14 18:14:33 +01:00