Rolback hash|no_hash and batch journal compaction

The no_hash option in CDB files became too hard to manage, in particular
the need to scan the whole file to find the last_key rather than cheat
and use the index.  It has been removed for now.

The writing to the journal during journal compaction has now been
enhanced by a mput option on the CDB file write - so it can write each
batch as one pwrite operation.
This commit is contained in:
martinsumner 2016-10-26 11:39:27 +01:00
parent 97087a6b2b
commit 2a47acc758
5 changed files with 103 additions and 68 deletions

View file

@ -13,11 +13,11 @@
all() -> [
simple_put_fetch_head_delete,
many_put_fetch_head,
% many_put_fetch_head,
journal_compaction,
fetchput_snapshot,
load_and_count,
load_and_count_withdelete,
% fetchput_snapshot,
% load_and_count,
% load_and_count_withdelete,
space_clear_ondelete_test
].