Add ability to control journal size by object count
This helps when there are files wiht large numbers of key deltas (and hence small values), where otherwise the object count may get out of control.
This commit is contained in:
parent
0ba7b3347e
commit
dab9652f6c
6 changed files with 157 additions and 62 deletions
|
@ -38,7 +38,8 @@
|
|||
bloom :: binary() | none | undefined}).
|
||||
|
||||
-record(cdb_options,
|
||||
{max_size :: integer() | undefined,
|
||||
{max_size :: pos_integer() | undefined,
|
||||
max_count :: pos_integer() | undefined,
|
||||
file_path :: string() | undefined,
|
||||
waste_path :: string() | undefined,
|
||||
binary_mode = false :: boolean(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue