Add log of startegy when clerk starts compaction

This commit is contained in:
Martin Sumner 2020-03-23 16:45:28 +00:00
parent 50cb98ecdd
commit 8a9db9e75e
2 changed files with 4 additions and 0 deletions

View file

@ -297,6 +297,8 @@ handle_call(stop, _From, State) ->
handle_cast({compact, Checker, InitiateFun, CloseFun, FilterFun, Manifest0},
State) ->
leveled_log:log("IC014", [State#state.reload_strategy,
State#state.max_run_length]),
% Empty the waste folder
clear_waste(State),
SW = os:timestamp(),

View file

@ -356,6 +356,8 @@
{"IC013",
{warn, "File with name ~s to be ignored in manifest as scanning for "
++ "first key returned empty - maybe corrupted"}},
{"IC014",
{info, "Compaction to be run with strategy ~w and max_run_length ~w"}},
{"CDB01",
{info, "Opening file for writing with filename ~s"}},