Refactor Penciller Push

Two aspects of pushing to the penciller have been refactored:
1 - Allow the penciller to respond before the ETS table has been updated
to unlock the Bookie sooner.
2 - Change the way the copy of the memtable is stored to work more
effectively with snapshots wihtout locking the Penciller any further on
a snapshot or push request
This commit is contained in:
martinsumner 2016-09-21 18:31:42 +01:00
parent 66d6db4e11
commit d3e985ed80
5 changed files with 433 additions and 211 deletions

View file

@ -30,6 +30,7 @@
-record(penciller_options,
{root_path :: string(),
penciller :: pid(),
max_inmemory_tablesize :: integer()}).
-record(bookie_options,