Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright headers. | Linus Nordberg | 2017-01-12 | 1 | -1/+1 |
| | |||||
* | Don't crash in index.erl when index is invalid | Magnus Ahltorp | 2016-11-02 | 1 | -2/+2 |
| | |||||
* | Commit changes to entryhash keyvalue store | Magnus Ahltorp | 2015-12-09 | 1 | -0/+4 |
| | |||||
* | Move timeouts to separate include file | Magnus Ahltorp | 2015-11-11 | 1 | -1/+2 |
| | |||||
* | Change index.erl to use gen_server and named databases. | Magnus Ahltorp | 2015-11-11 | 1 | -12/+5 |
| | | | | Prefetch indices in frontend:fetchmissingentries/2. | ||||
* | Make it possible to send several entries at once with merge/sendentry | Magnus Ahltorp | 2015-11-11 | 1 | -3/+16 |
| | |||||
* | Change perm interface to be add/commit based | Magnus Ahltorp | 2015-11-11 | 1 | -26/+11 |
| | |||||
* | Save sendsth verification position and restart from that point | Magnus Ahltorp | 2015-09-15 | 1 | -12/+40 |
| | |||||
* | Preliminary merge secondary implementation. | Magnus Ahltorp | 2015-06-18 | 1 | -0/+22 |
| | |||||
* | Dialyzer clean. | Linus Nordberg | 2015-05-05 | 1 | -3/+3 |
| | |||||
* | Be less strict when writing entryhash files. | Linus Nordberg | 2015-04-15 | 1 | -3/+2 |
| | | | | Closes CATLFISH-44. | ||||
* | Fix copyright strings. | Linus Nordberg | 2015-04-09 | 1 | -1/+1 |
| | |||||
* | perm:ensurefile now only does fsync only when sync flag is set | Magnus Ahltorp | 2015-04-08 | 1 | -1/+1 |
| | | | | Closes CATLFISH-35 | ||||
* | Read db size from sth file and cache | Magnus Ahltorp | 2015-03-25 | 1 | -8/+16 |
| | |||||
* | Fix specs; remove unused file. | Linus Nordberg | 2015-03-23 | 1 | -2/+1 |
| | | | | Add a spec; remove some warnings. | ||||
* | db:get_by_entry_hash: Check that entry exists | Magnus Ahltorp | 2015-02-27 | 1 | -3/+7 |
| | |||||
* | Log leaf hashes as hex strings | Magnus Ahltorp | 2015-02-27 | 1 | -2/+2 |
| | |||||
* | Delay fsync for index writes | Magnus Ahltorp | 2015-02-27 | 1 | -1/+1 |
| | |||||
* | Perform frontend index writes in two phases | Magnus Ahltorp | 2015-02-27 | 1 | -7/+18 |
| | |||||
* | Get rid of two warnings. | Linus Nordberg | 2014-11-21 | 1 | -1/+1 |
| | |||||
* | Move db size check from db.erl to plop.erl to allow reads past db size. | Magnus Ahltorp | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | Remove support for internal merge | Magnus Ahltorp | 2014-11-19 | 1 | -70/+32 |
| | |||||
* | Invoke gen_server:call/2 via stacktrace:call/2. | Linus Nordberg | 2014-11-04 | 1 | -10/+11 |
| | | | | stacktrace:call() logs an error if the gen_server:call() throws timeout. | ||||
* | Merge remote-tracking branch 'refs/remotes/map/external-merge3' into ↵ | Linus Nordberg | 2014-10-29 | 1 | -2/+8 |
|\ | | | | | | | | | | | | | | | | | | | | | | | merging-external-merge Conflicts: src/db.erl src/frontend.erl src/index.erl src/plop.erl src/storage.erl src/ts.erl | ||||
| * | Check that entries are actually present when receiving new STH from merge nodes | Magnus Ahltorp | 2014-10-27 | 1 | -3/+6 |
| | | |||||
| * | Optimize db:get_by_indices by not fetching entry and implementing index:getrange | Magnus Ahltorp | 2014-10-25 | 1 | -5/+7 |
| | | |||||
| * | Added lager for logging | Magnus Ahltorp | 2014-10-24 | 1 | -0/+2 |
| | | |||||
| * | Added HTTP API:s for external merge | Magnus Ahltorp | 2014-10-24 | 1 | -2/+36 |
| | | |||||
| * | db:get_by_leaf_hash(): Return notfound instead of crashing when no entry ↵ | Magnus Ahltorp | 2014-10-24 | 1 | -6/+19 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Whitespace and long lines. | Linus Nordberg | 2014-10-29 | 1 | -1/+2 |
| | | |||||
* | | Added HTTP API:s for external merge | Magnus Ahltorp | 2014-10-29 | 1 | -2/+36 |
| | | |||||
* | | Prepare for external-merge. | Magnus Ahltorp | 2014-10-29 | 1 | -6/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Optimize db:get_by_indices by not fetching entry and implementing index:getrange | Magnus Ahltorp | 2014-10-25 | 1 | -5/+7 |
|/ | | | | | | Conflicts: src/index.erl src/plop.erl | ||||
* | Break include dependency on plop.hrl | Magnus Ahltorp | 2014-10-24 | 1 | -1/+0 |
| | |||||
* | Make get_by_indices() handle non-existing entries. | Linus Nordberg | 2014-10-10 | 1 | -9/+17 |
| | | | | | - Limit End to size - 1. - Return [] for start < 0 and bound end < start. | ||||
* | Indent. | Linus Nordberg | 2014-10-09 | 1 | -2/+2 |
| | |||||
* | Merge remote-tracking branch 'refs/remotes/map/fsync4' into origin-master | Linus Nordberg | 2014-10-08 | 1 | -114/+70 |
|\ | | | | | | | | | | | Conflicts: src/db.erl src/plop.erl | ||||
| * | Use raw file storage | Magnus Ahltorp | 2014-09-28 | 1 | -114/+71 |
| | | |||||
| * | wip | Linus Nordberg | 2014-09-27 | 1 | -51/+75 |
| | | |||||
* | | Clean up the plop interface, in preparation for a new db implementation. | Linus Nordberg | 2014-09-29 | 1 | -51/+75 |
|/ | |||||
* | Store and retrieve extra-data in/from db. | Linus Nordberg | 2014-09-20 | 1 | -8/+11 |
| | | | | Also, add more specs to db. | ||||
* | Fix crash in inclusion() and add inclusion-and-leaf(). | Linus Nordberg | 2014-09-19 | 1 | -10/+19 |
| | |||||
* | Add field 'mtlhash' to the database, for get-proof-by-hash. | Linus Nordberg | 2014-09-18 | 1 | -16/+27 |
| | | | | | | | | | | Also, in db: Add field 'mtlhash' to record 'plop'. Rename 'hash' -> 'entryhash'. Add leaf_hash(), calculating a leaf hash from data. Fix a bug where print_tree() print half a byte of the hashes. Rename tree_hash() -> root(). Closes CATLFISH-3. | ||||
* | Get rid of dialyzer warning. | Linus Nordberg | 2014-09-10 | 1 | -1/+1 |
| | | | | | | | | Specify the match as a tuple rather than a record since dialyzer correctly reports that #plop fields cannot be atoms. The drawback is that the match needs updating when the definition of #plop{} changes, including merely reordering of fields. | ||||
* | Add db:get_by_index_sorted/2. | Linus Nordberg | 2014-09-09 | 1 | -4/+26 |
| | |||||
* | Add licensing information. | Linus Nordberg | 2014-06-09 | 1 | -0/+3 |
| | |||||
* | plop.hrl has finally moved into include/. | Linus Nordberg | 2014-06-04 | 1 | -1/+1 |
| | |||||
* | Add db:size/0 and some error checking. | Linus Nordberg | 2014-05-29 | 1 | -8/+15 |
| | |||||
* | Add db:get_by_index/2. | Linus Nordberg | 2014-05-26 | 1 | -2/+14 |
| | |||||
* | Use mnesia:index_read() instead of select() bc simpler. | Linus Nordberg | 2014-05-03 | 1 | -2/+1 |
| |