summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ht: Only process a limited amount of entries per gen_server callsignMagnus Ahltorp2014-11-191-10/+46
|
* Dummy db for testing.Magnus Ahltorp2014-11-193-24/+89
|
* Make ht load tree and verify root hash before updating tree sizeMagnus Ahltorp2014-11-182-4/+24
|
* Move db size check from db.erl to plop.erl to allow reads past db size.Magnus Ahltorp2014-11-182-2/+3
|
* Move plop:add out of gen_serverMagnus Ahltorp2014-11-182-92/+72
|
* Move signing code to sign moduleMagnus Ahltorp2014-11-153-114/+169
|
* Seralize writes to new entries indexMagnus Ahltorp2014-11-143-10/+76
|
* Remove support for internal mergeMagnus Ahltorp2014-11-142-73/+35
|
* Reimplement parallel fsyncMagnus Ahltorp2014-11-141-27/+79
|
* Invoke gen_server:call/2 via stacktrace:call/2.Linus Nordberg2014-11-144-33/+54
| | | | stacktrace:call() logs an error if the gen_server:call() throws timeout.
* Convert fsyncport to gen_server, losing parallel fsync.Magnus Ahltorp2014-11-131-86/+69
|
* Use an escript to call make, since 'erl -make' doesn't return error codeMagnus Ahltorp2014-11-132-1/+19
|
* Rough benchmark of htMagnus Ahltorp2014-10-301-0/+48
|
* Resurrect changes in f06372d that got lost in the merge.Linus Nordberg2014-10-291-9/+9
|
* Merge remote-tracking branch 'refs/remotes/map/external-merge3' into ↵Linus Nordberg2014-10-2913-53/+142
|\ | | | | | | | | | | | | | | | | | | | | | | merging-external-merge Conflicts: src/db.erl src/frontend.erl src/index.erl src/plop.erl src/storage.erl src/ts.erl
| * Remove old codeexternal-merge3Magnus Ahltorp2014-10-271-4/+0
| |
| * Optimize ts by storing tree in array of arrays.Magnus Ahltorp2014-10-271-27/+24
| |
| * Check that entries are actually present when receiving new STH from merge nodesMagnus Ahltorp2014-10-272-10/+54
| |
| * Fix mistake in ebc9d5ba (Optimize fetchnewentries)Magnus Ahltorp2014-10-272-7/+14
| |
| * Parallel fsyncMagnus Ahltorp2014-10-272-10/+28
| |
| * Correct function specifications.Magnus Ahltorp2014-10-272-2/+2
| |
| * Optimize fetchnewentriesMagnus Ahltorp2014-10-252-9/+13
| |
| * Optimize db:get_by_indices by not fetching entry and implementing index:getrangeMagnus Ahltorp2014-10-253-23/+37
| |
| * Move internal HTTP APIs to mochiweb. Stop using jiffy.Magnus Ahltorp2014-10-253-134/+109
| |
| * Increase max path length in fsynchelper to 1000.Magnus Ahltorp2014-10-241-1/+1
| |
| * Added lager for loggingMagnus Ahltorp2014-10-247-4/+27
| |
| * Fix bug getting storage_nodes configuration variableMagnus Ahltorp2014-10-241-2/+1
| |
| * Make frontend send entries to storage nodes if storage_nodes configuration ↵Magnus Ahltorp2014-10-241-6/+127
| | | | | | | | is set
| * Added HTTP API:s for external mergeMagnus Ahltorp2014-10-243-2/+215
| |
| * db:get_by_leaf_hash(): Return notfound instead of crashing when no entry ↵Magnus Ahltorp2014-10-242-32/+57
| | | | | | | | | | | | | | could be found. db:get_by_entry_hash(): Don't fetch index, isn't used and might not exist. index:add(): Allow writes at exiting indicies.
* | Move internal HTTP APIs to mochiweb. Stop using jiffy.Magnus Ahltorp2014-10-293-138/+110
| | | | | | | | | | | | | | Conflicts: src/frontend.erl src/plop.erl src/storage.erl
* | Increase max path length in fsynchelper to 1000.Magnus Ahltorp2014-10-291-1/+1
| |
* | Whitespace and long lines.Linus Nordberg2014-10-292-6/+13
| |
* | Added HTTP API:s for external mergeMagnus Ahltorp2014-10-293-2/+215
| |
* | Make frontend send entries to storage nodes if storage_nodes configuration ↵Magnus Ahltorp2014-10-291-6/+126
| | | | | | | | | | | | | | is set Conflicts: src/plop.erl
* | Prepare for external-merge.Magnus Ahltorp2014-10-292-32/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | db:get_by_leaf_hash(): Return notfound instead of crashing when no entry could be found. db:get_by_entry_hash(): Don't fetch index, isn't used and might not exist. index:add(): Allow writes at exiting indicies. Conflicts: src/index.erl
* | Can't use array:array() in R16.Linus Nordberg2014-10-281-5/+8
| |
* | Merge branch 'map-optimize-startup'Linus Nordberg2014-10-284-50/+66
|\ \
| * | Change names with 'List' to names with 'Array'.Linus Nordberg2014-10-281-14/+18
| | | | | | | | | | | | Also, split some long lines.
| * | Optimize ts by storing tree in array of arrays.Magnus Ahltorp2014-10-281-27/+24
| | |
| * | Optimize db:get_by_indices by not fetching entry and implementing index:getrangeoptimize-startupMagnus Ahltorp2014-10-253-23/+38
| |/ | | | | | | | | | | Conflicts: src/index.erl src/plop.erl
* | Fix tests which broke in b676b219.Linus Nordberg2014-10-281-6/+6
|/ | | | Broke when we changed add/1 to take a hash instead of an entry.
* Break include dependency on plop.hrlMagnus Ahltorp2014-10-244-21/+5
|
* Credit Emilia Käsper for the placeholder idea.Linus Nordberg2014-10-201-4/+10
|
* Add copyright and licensing information.Linus Nordberg2014-10-159-26/+20
| | | | After offline discussions with Magnus Ahltorp.
* Make get_by_indices() handle non-existing entries.Linus Nordberg2014-10-101-9/+17
| | | | | - Limit End to size - 1. - Return [] for start < 0 and bound end < start.
* Indent.Linus Nordberg2014-10-091-2/+2
|
* Add implementation of droplast/1.Linus Nordberg2014-10-081-1/+6
| | | | lists:droplast/1 is new as of R17.
* Merge remote-tracking branch 'refs/remotes/map/fsync4' into origin-masterLinus Nordberg2014-10-0818-139/+716
|\ | | | | | | | | | | Conflicts: src/db.erl src/plop.erl
| * Remove reference to creating database. Remove mnesia.fsync4Magnus Ahltorp2014-09-282-24/+3
| |