Kresten Krab Thorup
b21e253324
Store child-refs as {Pos,Size} so we can pread
...
This allows us to use file:pread to read a
child-node, rather than two separate reads
(one for node block size, and then one for
the node block itself).
Also, encode the level# in node header, so that
scanning leafs doesn't need to decode the
node contents for inner nodes.
2012-01-06 00:29:05 +01:00
Kresten Krab Thorup
2f985d8576
Fix indentation
2012-01-06 00:02:29 +01:00
Kresten Krab Thorup
e12544d0be
A bit more README / background info
2012-01-06 00:02:00 +01:00
Kresten Krab Thorup
85a75ed298
fix conflict
2012-01-05 18:11:37 +01:00
Kresten Krab Thorup
cff74ac93a
Use proc_lib for spawning
2012-01-05 18:09:00 +01:00
Kresten Krab Thorup
6c0766a433
Allow merger to be local
2012-01-05 18:08:19 +01:00
Kresten Krab Thorup
51f1c13650
Assert nursery file is gone after inject
2012-01-05 18:07:20 +01:00
Kresten Krab Thorup
22e59b0fcc
Make btree_writer:close use infinity
2012-01-05 17:37:15 +01:00
Kresten Krab Thorup
8c6d832f27
Merge pull request #1 from eriksoe/level_mainloop_simplification
...
Level mainloop simplification
2012-01-05 08:31:10 -08:00
Kresten Krab Thorup
cf54868d1b
Implement new merge algorithm
...
Which does not spawn individual processes,
but rather does a "sequential merge"
2012-01-05 17:07:49 +01:00
Kresten Krab Thorup
00e2fba43a
Correct count for merge
2012-01-05 16:46:32 +01:00
Erik Søe Sørensen
b9abf21bac
Correct embarrasing typo wrt. use of do_lookup().
2012-01-05 16:23:21 +01:00
Erik Søe Sørensen
36816e261a
Merge remote-tracking branch 'kk/master' into level_mainloop_simplification
...
Conflicts:
src/fractal_btree_level.erl
2012-01-05 16:14:54 +01:00
Kresten Krab Thorup
244e3128e9
Handle error case + debugging for that
2012-01-05 23:05:18 +08:00
Kresten Krab Thorup
e09e2b2aa2
Add basho_bench script/driver
2012-01-05 23:05:18 +08:00
Kresten Krab Thorup
3118bd8c62
Remove lots of info_msg
2012-01-05 23:05:18 +08:00
Erik Søe Sørensen
c04c11c67f
First compile and test, then commit.
2012-01-05 16:02:29 +01:00
Erik Søe Sørensen
fa43e41c51
Simplify slightly in level:initialize().
2012-01-05 16:01:14 +01:00
Erik Søe Sørensen
c93505fa58
Simplify main_loop() by collapsing to one clause.
2012-01-05 15:59:45 +01:00
Kresten Krab Thorup
27396c21d1
Handle error case + debugging for that
2012-01-05 15:56:37 +01:00
Erik Søe Sørensen
76c6cbd585
Simplify lookup in main_loop2().
2012-01-05 15:46:13 +01:00
Erik Søe Sørensen
285b7bc95e
Rename main_loop{0,1,2}() to main_loop().
2012-01-05 15:35:16 +01:00
Erik Søe Sørensen
6184272d95
Remove unused level:size().
2012-01-05 15:34:50 +01:00
Kresten Krab Thorup
86f28c683f
Add basho_bench script/driver
2012-01-05 15:28:39 +01:00
Kresten Krab Thorup
7a0fc6addd
Remove lots of info_msg
2012-01-05 15:28:23 +01:00
Kresten Krab Thorup
cdadb88ebf
Top-level functionality fractal_btree "works"
...
There is a single unit test for the aggregate
functionality, so basic interactions work.
[Too many log messages right now]
2012-01-05 11:48:14 +01:00
Kresten Krab Thorup
da65b9abb1
zip stored bloom filter
2012-01-04 15:48:57 +01:00
Kresten Krab Thorup
5af86b9e23
Add bloom filter to btree index format
2012-01-04 15:36:52 +01:00
Kresten Krab Thorup
6e13f55044
Initial work-in-progress
2012-01-04 15:05:31 +01:00
Kresten Krab Thorup
0a71c6ee5c
first commit
2012-01-04 14:40:22 +01:00