Add log of startegy when clerk starts compaction
This commit is contained in:
parent
50cb98ecdd
commit
8a9db9e75e
2 changed files with 4 additions and 0 deletions
|
@ -297,6 +297,8 @@ handle_call(stop, _From, State) ->
|
||||||
|
|
||||||
handle_cast({compact, Checker, InitiateFun, CloseFun, FilterFun, Manifest0},
|
handle_cast({compact, Checker, InitiateFun, CloseFun, FilterFun, Manifest0},
|
||||||
State) ->
|
State) ->
|
||||||
|
leveled_log:log("IC014", [State#state.reload_strategy,
|
||||||
|
State#state.max_run_length]),
|
||||||
% Empty the waste folder
|
% Empty the waste folder
|
||||||
clear_waste(State),
|
clear_waste(State),
|
||||||
SW = os:timestamp(),
|
SW = os:timestamp(),
|
||||||
|
|
|
@ -356,6 +356,8 @@
|
||||||
{"IC013",
|
{"IC013",
|
||||||
{warn, "File with name ~s to be ignored in manifest as scanning for "
|
{warn, "File with name ~s to be ignored in manifest as scanning for "
|
||||||
++ "first key returned empty - maybe corrupted"}},
|
++ "first key returned empty - maybe corrupted"}},
|
||||||
|
{"IC014",
|
||||||
|
{info, "Compaction to be run with strategy ~w and max_run_length ~w"}},
|
||||||
|
|
||||||
{"CDB01",
|
{"CDB01",
|
||||||
{info, "Opening file for writing with filename ~s"}},
|
{info, "Opening file for writing with filename ~s"}},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue