Cleanup most dialyzer errrors in leveled_inker
This commit is contained in:
parent
44fd603474
commit
eece253222
2 changed files with 12 additions and 12 deletions
|
@ -35,19 +35,19 @@
|
||||||
|
|
||||||
-record(cdb_options,
|
-record(cdb_options,
|
||||||
{max_size :: integer(),
|
{max_size :: integer(),
|
||||||
file_path :: string(),
|
file_path :: string() | undefined,
|
||||||
waste_path :: string(),
|
waste_path :: string() | undefined,
|
||||||
binary_mode = false :: boolean(),
|
binary_mode = false :: boolean(),
|
||||||
sync_strategy = sync}).
|
sync_strategy = sync}).
|
||||||
|
|
||||||
-record(inker_options,
|
-record(inker_options,
|
||||||
{cdb_max_size :: integer(),
|
{cdb_max_size :: integer() | undefined,
|
||||||
root_path :: string(),
|
root_path :: string() | undefined,
|
||||||
cdb_options :: #cdb_options{},
|
cdb_options :: #cdb_options{},
|
||||||
start_snapshot = false :: boolean(),
|
start_snapshot = false :: boolean(),
|
||||||
source_inker :: pid(),
|
source_inker :: pid() | undefined,
|
||||||
reload_strategy = [] :: list(),
|
reload_strategy = [] :: list(),
|
||||||
waste_retention_period :: integer(),
|
waste_retention_period :: integer() | undefined,
|
||||||
max_run_length}).
|
max_run_length}).
|
||||||
|
|
||||||
-record(penciller_options,
|
-record(penciller_options,
|
||||||
|
|
|
@ -128,15 +128,15 @@
|
||||||
-record(state, {manifest = [] :: list(),
|
-record(state, {manifest = [] :: list(),
|
||||||
manifest_sqn = 0 :: integer(),
|
manifest_sqn = 0 :: integer(),
|
||||||
journal_sqn = 0 :: integer(),
|
journal_sqn = 0 :: integer(),
|
||||||
active_journaldb :: pid(),
|
active_journaldb :: pid() | undefined,
|
||||||
pending_removals = [] :: list(),
|
pending_removals = [] :: list(),
|
||||||
registered_snapshots = [] :: list(),
|
registered_snapshots = [] :: list(),
|
||||||
root_path :: string(),
|
root_path :: string() | undefined,
|
||||||
cdb_options :: #cdb_options{},
|
cdb_options :: #cdb_options{} | undefined,
|
||||||
clerk :: pid(),
|
clerk :: pid() | undefined,
|
||||||
compaction_pending = false :: boolean(),
|
compaction_pending = false :: boolean(),
|
||||||
is_snapshot = false :: boolean(),
|
is_snapshot = false :: boolean(),
|
||||||
source_inker :: pid()}).
|
source_inker :: pid() | undefined}).
|
||||||
|
|
||||||
|
|
||||||
-type inker_options() :: #inker_options{}.
|
-type inker_options() :: #inker_options{}.
|
||||||
|
@ -1073,4 +1073,4 @@ coverage_cheat_test() ->
|
||||||
{noreply, _State0} = handle_info(timeout, #state{}),
|
{noreply, _State0} = handle_info(timeout, #state{}),
|
||||||
{ok, _State1} = code_change(null, #state{}, null).
|
{ok, _State1} = code_change(null, #state{}, null).
|
||||||
|
|
||||||
-endif.
|
-endif.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue