Snapshot Work - Interim Commit
Some initial work to get snapshots going. Changes required, as need to snapshot through the Bookie to ensure that there is no race between extracting the Bookie's in-memory view and the Penciller's view if a push_to_mem has occurred inbetween. A lot still outstanding, especially around Inker snapshots, and handling timeouts
This commit is contained in:
parent
d3e985ed80
commit
c64d67d9fb
5 changed files with 160 additions and 75 deletions
|
@ -26,12 +26,17 @@
|
|||
-record(inker_options,
|
||||
{cdb_max_size :: integer(),
|
||||
root_path :: string(),
|
||||
cdb_options :: #cdb_options{}}).
|
||||
cdb_options :: #cdb_options{},
|
||||
start_snapshot = false :: boolean,
|
||||
source_inker :: pid(),
|
||||
requestor :: pid()}).
|
||||
|
||||
-record(penciller_options,
|
||||
{root_path :: string(),
|
||||
penciller :: pid(),
|
||||
max_inmemory_tablesize :: integer()}).
|
||||
max_inmemory_tablesize :: integer(),
|
||||
start_snapshot = false :: boolean(),
|
||||
source_penciller :: pid(),
|
||||
requestor :: pid()}).
|
||||
|
||||
-record(bookie_options,
|
||||
{root_path :: string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue