Cleanup dialyzer errrors in leveled_sst

This commit is contained in:
Heinz N. Gies 2017-07-31 19:30:29 +02:00
parent 4ccd67a3c2
commit 5e6df539cb
2 changed files with 10 additions and 10 deletions

View file

@ -28,10 +28,10 @@
timestamp :: integer()}).
-record(manifest_entry,
{start_key :: tuple(),
end_key :: tuple(),
{start_key :: tuple() | undefined,
end_key :: tuple() | undefined,
owner :: pid()|list(),
filename :: string()}).
filename :: string() | undefined}).
-record(cdb_options,
{max_size :: integer(),

View file

@ -117,7 +117,7 @@
-record(summary, {first_key :: tuple(),
last_key :: tuple(),
index :: tuple(),
index :: tuple() | undefined,
size :: integer(),
max_sqn :: integer()}).
@ -129,9 +129,9 @@
%% extra copying. Files at the top of the tree yield, those lower down don't.
-record(state, {summary,
handle :: file:fd(),
sst_timings :: tuple(),
penciller :: pid(),
handle :: file:fd() | undefined,
sst_timings :: tuple() | undefined,
penciller :: pid() | undefined,
root_path,
filename,
yield_blockquery = false :: boolean(),