Mas d31 i416 (#418)
* Add compression controls (#417) * Add compression controls Add configuration options to allow for a compression algorithm of `none` to disable compression altogether. Also an option to change the point in the LSM tree when compression is applied. * Handle configurable defaults consistently Move them into leveled.hrl. This forces double-definitions to be resolved. There are some other constants in leveled_bookie that are relevant outside of leveled_bookie. These are all now in the non-configurable startup defaults section. * Clarify referred-to default is OTP not leveled * Update leveled_bookie.erl Handle xref issue with eunit include
This commit is contained in:
parent
b96518c32a
commit
9e804924a8
11 changed files with 338 additions and 163 deletions
|
@ -151,7 +151,7 @@
|
|||
compaction_pending = false :: boolean(),
|
||||
bookie_monref :: reference() | undefined,
|
||||
is_snapshot = false :: boolean(),
|
||||
compression_method = native :: lz4|native,
|
||||
compression_method = native :: lz4|native|none,
|
||||
compress_on_receipt = false :: boolean(),
|
||||
snap_timeout :: pos_integer() | undefined, % in seconds
|
||||
source_inker :: pid() | undefined}).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue